Message ID | 20180115211347.5651-3-jgg@ziepe.ca (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/buildlib/travis-build b/buildlib/travis-build index bf86baa7432c6b..0efcbc60d18be5 100755 --- a/buildlib/travis-build +++ b/buildlib/travis-build @@ -30,9 +30,9 @@ cd ../build-sparse mv ../CMakeLists.txt ../CMakeLists-orig.txt grep -v "# NO SPARSE" ../CMakeLists-orig.txt > ../CMakeLists.txt CC=cgcc CFLAGS="-Werror" cmake -GNinja .. -ninja > out +ninja | grep -v '^\[' | tee out # sparse does not fail gcc on messages -if grep -v '^\[' out; then +if [ -s out ]; then false fi mv ../CMakeLists-orig.txt ../CMakeLists.txt