Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / tests / threads / Make.tests
1 # -*- makefile -*-
2
3 # Test names.
4 tests/threads_TESTS = $(addprefix tests/threads/,alarm-single           \
5 alarm-multiple alarm-priority alarm-zero alarm-negative                 \
6 priority-change priority-donate-one priority-donate-multiple            \
7 priority-donate-nest priority-fifo priority-preempt priority-sema       \
8 priority-condvar mlfqs-load-1 mlfqs-load-60 mlfqs-load-avg              \
9 mlfqs-recent-1 mlfqs-fair-2 mlfqs-fair-20 mlfqs-nice-2 mlfqs-nice-10)
10
11 # Sources for tests.
12 tests/threads_SRC  = tests/threads/tests.c
13 tests/threads_SRC += tests/threads/alarm-wait.c
14 tests/threads_SRC += tests/threads/alarm-priority.c
15 tests/threads_SRC += tests/threads/alarm-zero.c
16 tests/threads_SRC += tests/threads/alarm-negative.c
17 tests/threads_SRC += tests/threads/priority-change.c
18 tests/threads_SRC += tests/threads/priority-donate-one.c
19 tests/threads_SRC += tests/threads/priority-donate-multiple.c
20 tests/threads_SRC += tests/threads/priority-donate-nest.c
21 tests/threads_SRC += tests/threads/priority-fifo.c
22 tests/threads_SRC += tests/threads/priority-preempt.c
23 tests/threads_SRC += tests/threads/priority-sema.c
24 tests/threads_SRC += tests/threads/priority-condvar.c
25 tests/threads_SRC += tests/threads/mlfqs-load-1.c
26 tests/threads_SRC += tests/threads/mlfqs-load-60.c
27 tests/threads_SRC += tests/threads/mlfqs-load-avg.c
28 tests/threads_SRC += tests/threads/mlfqs-recent-1.c
29 tests/threads_SRC += tests/threads/mlfqs-fair.c
30
31 tests/threads/mlfqs-load-1.output                               \
32 tests/threads/mlfqs-load-60.output                              \
33 tests/threads/mlfqs-load-avg.output                             \
34 tests/threads/mlfqs-recent-1.output                             \
35 tests/threads/mlfqs-fair-2.output                               \
36 tests/threads/mlfqs-fair-20.output                              \
37 tests/threads/mlfqs-nice-2.output                               \
38 tests/threads/mlfqs-nice-10.output: KERNELFLAGS += -mlfqs