X-Git-Url: https://rtime.felk.cvut.cz/gitweb/omk/sssa.git/blobdiff_plain/3c40f40d1a74f4f84724c9a39fd56afb0b38b9c6..5a2eaf511f78a04721099c2058c46f2b3846447d:/tests/headers/generated/runtest diff --git a/tests/headers/generated/runtest b/tests/headers/generated/runtest index 452fe66..f91e1cf 100755 --- a/tests/headers/generated/runtest +++ b/tests/headers/generated/runtest @@ -8,17 +8,17 @@ make include-pass || error "Can't run make include-pass" GC=./_compiled/include/global.h test -f "$GC" || error "Can't find the produced global config" -grep -Fv "/* config file:" $GC | diff -u correct/global.h - || error "Global config differs" +grep -Fv "/* config files:" $GC | diff -u correct/global.h - || error "Global config differs" make || error "Can't run make to produce local config" make CFLAGS=-Wall || error "Make failed with custom CFLAGS" LC=$(find _build -wholename '*/lincan/lincan_config.h') test -f "$LC" || error "Can't find the produced local config" -grep -Fv "/* config file:" $LC | diff -u correct/lincan_config.h - || error "Local config differs" +grep -Fv "/* config files:" $LC | diff -u correct/lincan_config.h - || error "Local config differs" TLC=$(find _build -name 'toplevel_config.h') test -f "$TLC" || error "Can't find the produced local config" -grep -Fv "/* config file:" $TLC | diff -u correct/toplevel_config.h - || error "Toplevel local config differs" +grep -Fv "/* config files:" $TLC | diff -u correct/toplevel_config.h - || error "Toplevel local config differs" touch -t 200001010000 $LC stat -c '%z' $LC > stat.log1