Added check for MACHINE_DEBUG = 1
authorEric Shook <eshook2@uiuc.edu>
Mon, 28 Jul 2008 21:01:18 +0000 (21:01 +0000)
committerEric Shook <eshook2@uiuc.edu>
Mon, 28 Jul 2008 21:01:18 +0000 (21:01 +0000)
tests/util/Makefile

index 8b8f241becfacfb4de60985333eea0ef19958dc7..636af2495512af9b9eb313472761e1b805955887 100644 (file)
@@ -12,6 +12,8 @@ check.o: check.C
 
 test: check
        ./charmrun +p1 check $(TESTOPTS)
+       #The line below tests if MACHINE_DEBUG is enabled in machine.h and fails if it is set
+       if test -e "debugLog.0"; then echo "MACHINE_DEBUG is enabled"; false; fi
 
 clean:
        rm -f conv-host *.o *.bak *.log check.sts *~ charmrun