Get rid of THREAD_JOIN_IMPLEMENTED by adding thread_join() stub.
[pintos-anon] / tests / Makefile
index e6a9c98b4f13c7fe73946825afc5ac20d71d70ad..efea7a5078db3e7da0cb6621a588f4f0ed9b313f 100644 (file)
@@ -2,6 +2,9 @@ TESTS = threads p1-1 p1-2 p1-3 list stdlib userprog p2 vm filesys
 
 PATH := $(shell pwd)/../src/utils:$(PATH)
 
+all:
+       @echo "This Makefile has only \`check' targets."
+
 check:
        $(MAKE) -C .. distclean
        for d in $(TESTS); do $(MAKE) $$d || exit 1; done
@@ -88,7 +91,6 @@ userprog::
        $(prep-grading)
        $(mk-sandbox)
        $(apply-patch) ../solutions/p1-2.patch
-       echo '#define THREAD_JOIN_IMPLEMENTED 1' > $@/pintos/src/constants.h
        $(run-tests) null
        $(clean)