diff options
Diffstat (limited to 'pintos-progos/tests/intro/userprog-args/Make.tests')
| -rw-r--r-- | pintos-progos/tests/intro/userprog-args/Make.tests | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pintos-progos/tests/intro/userprog-args/Make.tests b/pintos-progos/tests/intro/userprog-args/Make.tests new file mode 100644 index 0000000..6f7a474 --- /dev/null +++ b/pintos-progos/tests/intro/userprog-args/Make.tests | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | # -*- makefile -*- | ||
| 2 | |||
| 3 | tests/intro/userprog-args/%.output: FILESYSSOURCE = --filesys-size=2 | ||
| 4 | tests/intro/userprog-args/%.output: PUTFILES = $(filter-out kernel.bin loader.bin, $^) | ||
| 5 | tests/intro/userprog-args/%.output: SIMULATOR = --qemu | ||
| 6 | tests/intro/userprog-args_TESTS = $(addprefix tests/intro/userprog-args/,args-none \ | ||
| 7 | args-single args-multiple args-many args-dbl-space args-limit) | ||
| 8 | |||
| 9 | tests/intro/userprog-args_PROGS = $(tests/intro/userprog-args_TESTS) $(addprefix \ | ||
| 10 | tests/intro/userprog-args/,child-simple child-args) | ||
| 11 | |||
| 12 | tests/intro/userprog-args/args-none_SRC = tests/intro/userprog-args/args.c | ||
| 13 | tests/intro/userprog-args/args-single_SRC = tests/intro/userprog-args/args.c | ||
| 14 | tests/intro/userprog-args/args-multiple_SRC = tests/intro/userprog-args/args.c | ||
| 15 | tests/intro/userprog-args/args-many_SRC = tests/intro/userprog-args/args.c | ||
| 16 | tests/intro/userprog-args/args-dbl-space_SRC = tests/intro/userprog-args/args.c | ||
| 17 | tests/intro/userprog-args/args-limit_SRC = tests/intro/userprog-args/args-limit.c | ||
| 18 | |||
| 19 | tests/intro/userprog-args/child-simple_SRC = tests/intro/userprog-args/child-simple.c | ||
| 20 | tests/intro/userprog-args/child-args_SRC = tests/intro/userprog-args/args.c | ||
| 21 | |||
| 22 | $(foreach prog,$(tests/intro/userprog-args_PROGS),$(eval $(prog)_SRC += tests/lib.c)) | ||
| 23 | |||
| 24 | tests/intro/userprog-args/args-single_ARGS = onearg | ||
| 25 | tests/intro/userprog-args/args-multiple_ARGS = some arguments for you! | ||
| 26 | tests/intro/userprog-args/args-many_ARGS = a b c d e f g h i j k l m n o p q r s t u v | ||
| 27 | tests/intro/userprog-args/args-dbl-space_ARGS = two spaces! | ||
