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-multiple2 \
8 priority-donate-nest priority-fifo priority-preempt priority-sema \
9 priority-condvar mlfqs-load-1 mlfqs-load-60 mlfqs-load-avg \
10 mlfqs-recent-1 mlfqs-fair-2 mlfqs-fair-20 mlfqs-nice-2 mlfqs-nice-10)
13 tests/threads_SRC = tests/threads/tests.c
14 tests/threads_SRC += tests/threads/alarm-wait.c
15 tests/threads_SRC += tests/threads/alarm-priority.c
16 tests/threads_SRC += tests/threads/alarm-zero.c
17 tests/threads_SRC += tests/threads/alarm-negative.c
18 tests/threads_SRC += tests/threads/priority-change.c
19 tests/threads_SRC += tests/threads/priority-donate-one.c
20 tests/threads_SRC += tests/threads/priority-donate-multiple.c
21 tests/threads_SRC += tests/threads/priority-donate-multiple2.c
22 tests/threads_SRC += tests/threads/priority-donate-nest.c
23 tests/threads_SRC += tests/threads/priority-fifo.c
24 tests/threads_SRC += tests/threads/priority-preempt.c
25 tests/threads_SRC += tests/threads/priority-sema.c
26 tests/threads_SRC += tests/threads/priority-condvar.c
27 tests/threads_SRC += tests/threads/mlfqs-load-1.c
28 tests/threads_SRC += tests/threads/mlfqs-load-60.c
29 tests/threads_SRC += tests/threads/mlfqs-load-avg.c
30 tests/threads_SRC += tests/threads/mlfqs-recent-1.c
31 tests/threads_SRC += tests/threads/mlfqs-fair.c
34 tests/threads/mlfqs-load-1.output \
35 tests/threads/mlfqs-load-60.output \
36 tests/threads/mlfqs-load-avg.output \
37 tests/threads/mlfqs-recent-1.output \
38 tests/threads/mlfqs-fair-2.output \
39 tests/threads/mlfqs-fair-20.output \
40 tests/threads/mlfqs-nice-2.output \
41 tests/threads/mlfqs-nice-10.output
43 $(MLFQS_OUTPUTS): KERNELFLAGS += -mlfqs
44 $(MLFQS_OUTPUTS): TIMEOUT = 240