Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / tests / filesys / base / Make.tests
1 # -*- makefile -*-
2
3 tests/filesys/base_TESTS = $(addprefix tests/filesys/base/,lg-create    \
4 lg-full lg-random lg-seq-block lg-seq-random sm-create sm-full          \
5 sm-random sm-seq-block sm-seq-random syn-read syn-remove syn-write)
6
7 tests/filesys/base_PROGS = $(tests/filesys/base_TESTS) $(addprefix      \
8 tests/filesys/base/,child-syn-read child-syn-wrt)
9
10 $(foreach prog,$(tests/filesys/base_PROGS),                             \
11         $(eval $(prog)_SRC += $(prog).c tests/lib.c tests/filesys/seq-test.c))
12 $(foreach prog,$(tests/filesys/base_TESTS),                     \
13         $(eval $(prog)_SRC += tests/main.c))
14
15 tests/filesys/base/syn-read_PUTFILES = tests/filesys/base/child-syn-read
16 tests/filesys/base/syn-write_PUTFILES = tests/filesys/base/child-syn-wrt