From 057f431b0ab16bd81819967d855d43ecf8df4586 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Thu, 28 Jul 2022 18:11:40 +0200 Subject: CI: fix wrong matching for test errors grep was returning non-zero exit code if it did NOT find the error marker, and zero if it did. --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index 2f3a97d73..2c376da58 100644 --- a/test/Makefile +++ b/test/Makefile @@ -3,7 +3,7 @@ TESTS=$(patsubst %/,%,$(wildcard */)) .PHONY: $(TESTS) $(TESTS): cd $@ && ./$@.sh 2>&1 | tee $@.log - cd $@ && grep -a TESTING $@.log && grep -a -L "TESTING ERROR" $@.log + cd $@ && grep -a TESTING $@.log && ! grep -a -q "TESTING ERROR" $@.log .PHONY: clean clean: -- cgit v1.2.3-54-g00ecf