X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2FMakefile;h=f8cd3579f69aad5289f9d69fa9ec96e3076c0f29;hb=a96d2712f349629d7fe2186e2620f1704cbdee50;hp=5d53e286b71c3e49a657e19350003631d8dfba8f;hpb=a26618d6f33f13301eb93ee26d6953c76019d879;p=pintos-anon diff --git a/tests/Makefile b/tests/Makefile index 5d53e28..f8cd357 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,4 +1,4 @@ -TESTS = threads p1 userprog p2 vm p3 filesys p4 +TESTS = examples threads p1 userprog p2 vm p3 filesys p4 PATH := $(shell pwd)/../src/utils:$(PATH) @@ -19,7 +19,7 @@ cd $@/src && $(MAKE) -s clean endef define run-tests -cd $@/src/$(PROJECT) && $(MAKE) check PINTOSOPTS=$(PINTOSOPTS) +cd $@/src/$(PROJECT) && time $(MAKE) check endef define grade-tests @@ -52,13 +52,12 @@ threads:: $(compile) $(run-tests) TESTS=tests/threads/alarm-single $(clean) -userprog vm filesys:: +examples userprog vm filesys:: $(mk-sandbox) $(compile) $(clean) # Tests for the reference solutions. -p2 p3 p4: PINTOSOPTS = --qemu p1 p2 p3 p4:: $(mk-sandbox) $(apply-patch)