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"
#!/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