Modify the linker script to match the generated binary
[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-simultaneous alarm-priority alarm-zero             \
6 alarm-negative priority-change priority-donate-one                      \
7 priority-donate-multiple priority-donate-multiple2                      \
8 priority-donate-nest priority-donate-sema priority-donate-lower         \
9 priority-fifo priority-preempt priority-sema priority-condvar           \
10 priority-donate-chain                                                   \
11 mlfqs-load-1 mlfqs-load-60 mlfqs-load-avg mlfqs-recent-1 mlfqs-fair-2   \
12 mlfqs-fair-20 mlfqs-nice-2 mlfqs-nice-10 mlfqs-block)
13
14 # Sources for tests.
15 tests/threads_SRC  = tests/threads/tests.c
16 tests/threads_SRC += tests/threads/alarm-wait.c
17 tests/threads_SRC += tests/threads/alarm-simultaneous.c
18 tests/threads_SRC += tests/threads/alarm-priority.c
19 tests/threads_SRC += tests/threads/alarm-zero.c
20 tests/threads_SRC += tests/threads/alarm-negative.c
21 tests/threads_SRC += tests/threads/priority-change.c
22 tests/threads_SRC += tests/threads/priority-donate-one.c
23 tests/threads_SRC += tests/threads/priority-donate-multiple.c
24 tests/threads_SRC += tests/threads/priority-donate-multiple2.c
25 tests/threads_SRC += tests/threads/priority-donate-nest.c
26 tests/threads_SRC += tests/threads/priority-donate-sema.c
27 tests/threads_SRC += tests/threads/priority-donate-lower.c
28 tests/threads_SRC += tests/threads/priority-fifo.c
29 tests/threads_SRC += tests/threads/priority-preempt.c
30 tests/threads_SRC += tests/threads/priority-sema.c
31 tests/threads_SRC += tests/threads/priority-condvar.c
32 tests/threads_SRC += tests/threads/priority-donate-chain.c
33 tests/threads_SRC += tests/threads/mlfqs-load-1.c
34 tests/threads_SRC += tests/threads/mlfqs-load-60.c
35 tests/threads_SRC += tests/threads/mlfqs-load-avg.c
36 tests/threads_SRC += tests/threads/mlfqs-recent-1.c
37 tests/threads_SRC += tests/threads/mlfqs-fair.c
38 tests/threads_SRC += tests/threads/mlfqs-block.c
39
40 MLFQS_OUTPUTS =                                 \
41 tests/threads/mlfqs-load-1.output               \
42 tests/threads/mlfqs-load-60.output              \
43 tests/threads/mlfqs-load-avg.output             \
44 tests/threads/mlfqs-recent-1.output             \
45 tests/threads/mlfqs-fair-2.output               \
46 tests/threads/mlfqs-fair-20.output              \
47 tests/threads/mlfqs-nice-2.output               \
48 tests/threads/mlfqs-nice-10.output              \
49 tests/threads/mlfqs-block.output
50
51 $(MLFQS_OUTPUTS): KERNELFLAGS += -mlfqs
52 $(MLFQS_OUTPUTS): TIMEOUT = 480
53