diff options
| author | Filip Strömbäck <filip.stromback@liu.se> | 2020-03-18 12:28:10 +0100 |
|---|---|---|
| committer | Filip Strömbäck <filip.stromback@liu.se> | 2020-03-18 17:23:10 +0100 |
| commit | 68c4eda1c24d56f3108648c5b1855664d7f0e8cc (patch) | |
| tree | 773c77b9253ad7e6816aa0100236fd5e483da38b /src/tests/filst/Make.tests | |
| parent | 4be5b82aa9c40e428d5dc2149dae001627ab0146 (diff) | |
| download | pintos-rs-68c4eda1c24d56f3108648c5b1855664d7f0e8cc.tar.gz | |
Added new tests for the validating the syscall number.
Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
Diffstat (limited to 'src/tests/filst/Make.tests')
| -rw-r--r-- | src/tests/filst/Make.tests | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/filst/Make.tests b/src/tests/filst/Make.tests index 4c59dc5..dfd179f 100644 --- a/src/tests/filst/Make.tests +++ b/src/tests/filst/Make.tests @@ -3,12 +3,12 @@ tests/%.output: FSDISK = 2 tests/%.output: PUTFILES = $(filter-out os.dsk, $^) -tests/filst_TESTS = $(addprefix tests/filst/,sc-bad-write sc-bad-close) +tests/filst_TESTS = $(addprefix tests/filst/,sc-bad-write sc-bad-close sc-bad-nr-1 sc-bad-nr-2 sc-bad-nr-3) tests/filst_PROGS = $(tests/filst_TESTS) -tests/filst/sc-bad-write_SRC = tests/filst/sc-bad-write.c tests/main.c -tests/filst/sc-bad-close_SRC = tests/filst/sc-bad-close.c tests/main.c - +# Semi-automatic magic. +$(foreach prog,$(tests/filst_PROGS),$(eval $(prog)_SRC += $(prog).c)) +$(foreach prog,$(tests/filst_PROGS),$(eval $(prog)_SRC += tests/main.c)) $(foreach prog,$(tests/filst_PROGS),$(eval $(prog)_SRC += tests/lib.c)) |
