]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Generated headers test fixed.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 20 Jan 2007 10:22:00 +0000 (10:22 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 20 Jan 2007 10:22:00 +0000 (10:22 +0000)
darcs-hash:20070120102222-f2ef6-055e0e0614704e189b6cdf046594d7bc03c08577.gz

tests/headers/generated/runtest
tests/runtests.py

index 037e3e1cbf594d964b0a8a348d600cad5db1105d..7778c7b5a2a3592a894d055ab95e3c68e7d9e130 100755 (executable)
@@ -10,7 +10,7 @@ test -f "$GC" || canttest "Can't find the produced global config"
 
 grep -Fv "/* config file:" $GC | diff -u correct/global.h - || error "Global config differs"
 
-make CC=true || cannot "Can't run make to produce local config"
+make || canttest "Can't run make to produce local config"
 LC=$(find _build -wholename '*/lincan/lincan_config.h')
 test -f "$LC" || canttest "Can't find the produced local config"
 grep -Fv "/* config file:" $LC | diff -u correct/lincan_config.h - || error "Local config differs"
index 276114e4b5bfec1c7a916b5bb7fba57bf297d87f..898fbb84a3d149eb814619337b43c54a873c9c2c 100755 (executable)
@@ -1,5 +1,9 @@
 #!/usr/bin/env python
 
+### TODO: allow to run several tests in one directory - possible
+### runtest1, runtest2 etc. Use it for generated headers test to check
+### local and global config separately.
+
 import os
 import os.path
 import sys