Mercurial > hg > tinycc
view make/test.sh @ 531:56fa8cc1b112
Add back the test suite.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 09 Dec 2007 03:32:56 -0600 |
parents | |
children | c9e388620dcc |
line wrap: on
line source
#!/bin/bash source ./configure $CC $CFLAGS -I. -Iinclude -o test1 tests/tcctest.c && ./test1 > test1.txt && ./tinycc -I. -Iinclude -o test2 tests/tcctest.c && ./test2 > test2.txt && diff -u test1.txt test2.txt