Check for no warnings in grade report.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 21 Jun 2005 06:43:31 +0000 (06:43 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 21 Jun 2005 06:43:31 +0000 (06:43 +0000)
tests/Makefile

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