Don't use ! in shell--Solaris sh doesn't support it.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 20 Dec 2005 03:27:15 +0000 (03:27 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 20 Dec 2005 03:27:15 +0000 (03:27 +0000)
tests/Makefile

index 705472f8aa420b5dbd944bde9e795270c8c38db7..3adf8e38ac9f72a9ea6ed4d52a37d2b5180d8153 100644 (file)
@@ -28,7 +28,7 @@ define run-tests-grade
 cd $@/src/$(PROJECT) && $(MAKE) check
 cd $@/src/$(PROJECT) && $(MAKE) grade
 cd $@/src/$(PROJECT) && grep -q PERFECT build/grade
-cd $@/src/$(PROJECT) && ! grep -q warning build/grade
+cd $@/src/$(PROJECT) && grep -qv warning build/grade
 endef
 
 define compile