X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2FMake.tests;h=a60b1f048758e3a1f11361a53f47affd581d2e4e;hb=16c7d34d02045bc7e6165a13c549a7968e074d4b;hp=9a5869f51e8b32643f9f4bcd564ab55078ba2498;hpb=b51bfd75c7f55f008d67ec13d895694fbfa22430;p=pintos-anon diff --git a/src/tests/userprog/Make.tests b/src/tests/userprog/Make.tests index 9a5869f..a60b1f0 100644 --- a/src/tests/userprog/Make.tests +++ b/src/tests/userprog/Make.tests @@ -1,20 +1,22 @@ # -*- makefile -*- -tests/%.output: FSDISK = 2 -tests/%.output: PUTFILES = $(filter-out os.dsk, $^) +tests/%.output: FILESYSSOURCE = --filesys-size=2 +tests/%.output: PUTFILES = $(filter-out kernel.bin loader.bin, $^) -tests/userprog_TESTS = $(addprefix tests/userprog/,args-none \ -args-single args-multiple args-many args-dbl-space sc-bad-sp \ -sc-bad-arg sc-boundary sc-boundary-2 halt exit create-normal \ -create-empty create-null create-bad-ptr create-long create-exists \ -create-bound open-normal open-missing open-boundary open-empty \ -open-null open-bad-ptr open-twice close-normal close-twice close-stdin \ -close-stdout close-bad-fd read-normal read-bad-ptr read-boundary \ -read-zero read-stdout read-bad-fd write-normal write-bad-ptr \ -write-boundary write-zero write-stdin write-bad-fd exec-once exec-arg \ -exec-multiple exec-missing exec-bad-ptr wait-simple wait-twice \ -wait-killed wait-bad-pid multi-recurse multi-child-fd rox-simple \ -rox-child rox-multichild) +tests/userprog_TESTS = $(addprefix tests/userprog/,args-none \ +args-single args-multiple args-many args-dbl-space sc-bad-sp \ +sc-bad-arg sc-boundary sc-boundary-2 sc-boundary-3 halt exit \ +create-normal create-empty create-null create-bad-ptr create-long \ +create-exists create-bound open-normal open-missing open-boundary \ +open-empty open-null open-bad-ptr open-twice close-normal \ +close-twice close-stdin close-stdout close-bad-fd read-normal \ +read-bad-ptr read-boundary read-zero read-stdout read-bad-fd \ +write-normal write-bad-ptr write-boundary write-zero write-stdin \ +write-bad-fd exec-once exec-arg exec-bound exec-bound-2 \ +exec-bound-3 exec-multiple exec-missing exec-bad-ptr wait-simple \ +wait-twice wait-killed wait-bad-pid multi-recurse multi-child-fd \ +rox-simple rox-child rox-multichild bad-read bad-write bad-read2 \ +bad-write2 bad-jump bad-jump2) tests/userprog_PROGS = $(tests/userprog_TESTS) $(addprefix \ tests/userprog/,child-simple child-args child-bad child-close child-rox) @@ -26,10 +28,18 @@ tests/userprog/args-many_SRC = tests/userprog/args.c tests/userprog/args-dbl-space_SRC = tests/userprog/args.c tests/userprog/sc-bad-sp_SRC = tests/userprog/sc-bad-sp.c tests/main.c tests/userprog/sc-bad-arg_SRC = tests/userprog/sc-bad-arg.c tests/main.c -tests/userprog/sc-boundary_SRC = tests/userprog/sc-boundary.c \ +tests/userprog/bad-read_SRC = tests/userprog/bad-read.c tests/main.c +tests/userprog/bad-write_SRC = tests/userprog/bad-write.c tests/main.c +tests/userprog/bad-jump_SRC = tests/userprog/bad-jump.c tests/main.c +tests/userprog/bad-read2_SRC = tests/userprog/bad-read2.c tests/main.c +tests/userprog/bad-write2_SRC = tests/userprog/bad-write2.c tests/main.c +tests/userprog/bad-jump2_SRC = tests/userprog/bad-jump2.c tests/main.c +tests/userprog/sc-boundary_SRC = tests/userprog/sc-boundary.c \ tests/userprog/boundary.c tests/main.c tests/userprog/sc-boundary-2_SRC = tests/userprog/sc-boundary-2.c \ tests/userprog/boundary.c tests/main.c +tests/userprog/sc-boundary-3_SRC = tests/userprog/sc-boundary-3.c \ +tests/userprog/boundary.c tests/main.c tests/userprog/halt_SRC = tests/userprog/halt.c tests/main.c tests/userprog/exit_SRC = tests/userprog/exit.c tests/main.c tests/userprog/create-normal_SRC = tests/userprog/create-normal.c tests/main.c @@ -70,6 +80,12 @@ tests/userprog/write-stdin_SRC = tests/userprog/write-stdin.c tests/main.c tests/userprog/write-bad-fd_SRC = tests/userprog/write-bad-fd.c tests/main.c tests/userprog/exec-once_SRC = tests/userprog/exec-once.c tests/main.c tests/userprog/exec-arg_SRC = tests/userprog/exec-arg.c tests/main.c +tests/userprog/exec-bound_SRC = tests/userprog/exec-bound.c \ +tests/userprog/boundary.c tests/main.c +tests/userprog/exec-bound-2_SRC = tests/userprog/exec-bound-2.c \ +tests/userprog/boundary.c tests/main.c +tests/userprog/exec-bound-3_SRC = tests/userprog/exec-bound-3.c \ +tests/userprog/boundary.c tests/main.c tests/userprog/exec-multiple_SRC = tests/userprog/exec-multiple.c tests/main.c tests/userprog/exec-missing_SRC = tests/userprog/exec-missing.c tests/main.c tests/userprog/exec-bad-ptr_SRC = tests/userprog/exec-bad-ptr.c tests/main.c @@ -120,6 +136,7 @@ tests/userprog/wait-simple_PUTFILES += tests/userprog/child-simple tests/userprog/wait-twice_PUTFILES += tests/userprog/child-simple tests/userprog/exec-arg_PUTFILES += tests/userprog/child-args +tests/userprog/exec-bound_PUTFILES += tests/userprog/child-args tests/userprog/multi-child-fd_PUTFILES += tests/userprog/child-close tests/userprog/wait-killed_PUTFILES += tests/userprog/child-bad tests/userprog/rox-child_PUTFILES += tests/userprog/child-rox