Ignore:
Timestamp:
Oct 17, 2012, 12:03:39 PM (12 years ago)
Author:
bouyer
Message:

Update/add 2 new tests, from tests_mips32_vcache:
test_llsc: check basic functionnality of ll/sc
test_sc_no_ll: check that a sc without prior ll fails as expected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tests_ccvcache_v4/test_llsc/run

    r232 r265  
    11#!/bin/sh
     2
     3. ../common/common.sh
    24
    35check_output()
    46{
    5         egrep "^0x00000000 0xAC4000FF 0xAC4000FF 0x00000000$" run.out > /dev/null
     7        egrep "^0x0000DEAD 0x0000DEAD 0x0000BEEF 0x0000DEAD$" run.out > /dev/null
    68        if [ $? -eq 0 ]; then
    79                return 0;
     
    1214
    1315make --quiet || exit 1
    14 ../platform/simulation.x > run.out 2>&1
     16${SIMUL} > run.out 2>&1
    1517if [ $? -eq 0 ]; then
    1618        if check_output; then
Note: See TracChangeset for help on using the changeset viewer.