Ophis/tests/simpletest.sh
Michael Martin cf0df92fb1 Wrap up the new file/dir handling.
An .outfile directive lets sources suggest default filenames.

Also, .include, .require, .incbin, and .charmapbin are relative
to their _source file_ as opposed the _directory you called Ophis
from_, like it really should have always been.
2012-06-03 19:50:17 -07:00

20 lines
655 B
Bash
Executable File

#!/bin/bash
../bin/ophis -q --no-warn testbase.oph
diff -q testbase.bin ophis.bin
../bin/ophis -q --no-warn testdata.oph
diff -q testdata.bin ophis.bin
../bin/ophis -q --no-warn longbranch_ref.oph -o a_ref.bin
diff -q longbranch.bin a_ref.bin
../bin/ophis -q --no-warn longbranch.oph
diff -q longbranch.bin ophis.bin
../bin/ophis -cq --no-warn test65c02.oph
diff -q test65c02.bin ophis.bin
../bin/ophis -uq --no-warn test6510.oph
diff -q test6510.bin ophis.bin
../bin/ophis -cq --no-warn branch_c02_ref.oph -o a_ref.bin
diff -q branch_c02.bin a_ref.bin
../bin/ophis -cq --no-warn branch_c02.oph
diff -q branch_c02.bin ophis.bin
rm -f a_ref.bin ophis.bin