Tougher tests, and test the tests.

This commit is contained in:
thomas committed 2018-03-20 14:11:21 +01:00
1 parent 2b8fa6047d
commit 498a78cd9f
3 files changed
+53 -5

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/sh
dirs=src/kernel
dirs="toolchain src/kernel"
main()
{
@@ -10,7 +10,7 @@ main()
for suite in $files; do
test_exec="${suite}est"
compiler_output=`cc -x c $suite -o $test_exec -I $dir/include -I toolchain -DTTEST 2>&1`
compiler_output=`cc -x c $suite -o $test_exec -Wall -Wextra -Werror -I $dir/include -I toolchain -DTTEST 2>&1`
compiler_status=$?
if [[ "$compiler_status" -eq "0" ]]; then