Check that `grade' reports are perfect.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 21 Jun 2005 05:51:10 +0000 (05:51 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 21 Jun 2005 05:51:10 +0000 (05:51 +0000)
tests/Makefile

index feb01f5039c5081099561b2f265294211a775c2d..ce0399b2e0ca7a8cf078696e148550426ac39bea 100644 (file)
@@ -25,7 +25,8 @@ cd $@/src/$(PROJECT) && $(MAKE) check
 endef
 
 define run-tests-grade
-cd $@/src/$(PROJECT) && $(MAKE) check && make grade
+cd $@/src/$(PROJECT) && $(MAKE) check
+cd $@/src/$(PROJECT) && $(MAKE) grade && grep -q PERFECT build/grade
 endef
 
 define compile