5
## This file is called in ../testall.sh.
6
## $1 is expected to be the XSB executable
7
## $2 is expected to be the command options passed to XSB
9
echo "-------------------------------------------------------"
10
echo "--- Running Metalock/test.sh ---"
11
echo "-------------------------------------------------------"
16
# gentest.sh "$XSB $opts" FILE-TO-TEST COMMAND
18
../gentest.sh "$XSB $opts" test "test(2,1,nomutualex(1))." nomutex_out
19
../gentest.sh "$XSB $opts" test "test(2,1,liveness(1,1))." liveness_out
20
/bin/mv -f test_new test_old
21
cat nomutex_out liveness_out > test_new
22
/bin/rm -f nomutex_out liveness_out