Add another test that checks priority scheduling in the case of
[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-multiple2 priority-donate-nest priority-donate-sema     \
8 priority-fifo priority-preempt priority-sema priority-condvar           \
9 mlfqs-load-1 mlfqs-load-60 mlfqs-load-avg mlfqs-recent-1 mlfqs-fair-2   \
10 mlfqs-fair-20 mlfqs-nice-2 mlfqs-nice-10)
11
12 # Sources for tests.
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-donate-sema.c
24 tests/threads_SRC += tests/threads/priority-fifo.c
25 tests/threads_SRC += tests/threads/priority-preempt.c
26 tests/threads_SRC += tests/threads/priority-sema.c
27 tests/threads_SRC += tests/threads/priority-condvar.c
28 tests/threads_SRC += tests/threads/mlfqs-load-1.c
29 tests/threads_SRC += tests/threads/mlfqs-load-60.c
30 tests/threads_SRC += tests/threads/mlfqs-load-avg.c
31 tests/threads_SRC += tests/threads/mlfqs-recent-1.c
32 tests/threads_SRC += tests/threads/mlfqs-fair.c
33
34 MLFQS_OUTPUTS =                                 \
35 tests/threads/mlfqs-load-1.output               \
36 tests/threads/mlfqs-load-60.output              \
37 tests/threads/mlfqs-load-avg.output             \
38 tests/threads/mlfqs-recent-1.output             \
39 tests/threads/mlfqs-fair-2.output               \
40 tests/threads/mlfqs-fair-20.output              \
41 tests/threads/mlfqs-nice-2.output               \
42 tests/threads/mlfqs-nice-10.output
43
44 $(MLFQS_OUTPUTS): KERNELFLAGS += -mlfqs
45 $(MLFQS_OUTPUTS): TIMEOUT = 240
46