Start adding a test suite.

This commit is contained in:
Eric Anholt
2006-08-31 14:25:33 -07:00
committed by Damien Lespiau
parent 356ce76d44
commit e3cc73bec4
7 changed files with 36 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
TESTDIR=${srcdir-`pwd`}
BUILDDIR=${top_builddir-`pwd`}
${BUILDDIR}/src/gen4asm -o TEST.out $TESTDIR/TEST.g4a
if cmp TEST.out ${TESTDIR}/TEST.expected; then : ; else
exit 1;
fi