Fix CI.
This commit is contained in:
Kartik Agaram 2019-07-22 01:39:14 -07:00
parent 1421e4cf3e
commit 133e8bcf26
1 changed files with 28 additions and 23 deletions

View File

@ -102,6 +102,9 @@ grep -h "^[^[:space:]#].*) {$" subx.cc |grep -v ":.*(" |sed 's/ {.*/;/' |upda
grep -h "^\s*void test_" subx.cc |sed 's/^\s*void \(.*\)() {.*/\1,/' |update test_list
grep -h "^\s*void test_" subx.cc |sed 's/^\s*void \(.*\)() {.*/"\1",/' |update test_name_list
if [ $# -eq 0 ]
then
older_than subx_bin subx.cc *_list && {
$CXX $CFLAGS subx.cc -o subx_bin
}
@ -130,4 +133,6 @@ do
}
done
fi
exit 0