diff options
Diffstat (limited to 'pintos-progos/tests/threads/Make.tests')
| -rw-r--r-- | pintos-progos/tests/threads/Make.tests | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/pintos-progos/tests/threads/Make.tests b/pintos-progos/tests/threads/Make.tests new file mode 100644 index 0000000..dbdfd0c --- /dev/null +++ b/pintos-progos/tests/threads/Make.tests | |||
| @@ -0,0 +1,56 @@ | |||
| 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 | |||
| 12 | |||
| 13 | # Sources for tests. | ||
| 14 | tests/threads_SRC = tests/threads/tests.c | ||
| 15 | tests/threads_SRC += tests/threads/alarm-wait.c | ||
| 16 | tests/threads_SRC += tests/threads/alarm-simultaneous.c | ||
| 17 | tests/threads_SRC += tests/threads/alarm-priority.c | ||
| 18 | tests/threads_SRC += tests/threads/alarm-zero.c | ||
| 19 | tests/threads_SRC += tests/threads/alarm-negative.c | ||
| 20 | tests/threads_SRC += tests/threads/priority-change.c | ||
| 21 | tests/threads_SRC += tests/threads/priority-donate-one.c | ||
| 22 | tests/threads_SRC += tests/threads/priority-donate-multiple.c | ||
| 23 | tests/threads_SRC += tests/threads/priority-donate-multiple2.c | ||
| 24 | tests/threads_SRC += tests/threads/priority-donate-nest.c | ||
| 25 | tests/threads_SRC += tests/threads/priority-donate-sema.c | ||
| 26 | tests/threads_SRC += tests/threads/priority-donate-lower.c | ||
| 27 | tests/threads_SRC += tests/threads/priority-fifo.c | ||
| 28 | tests/threads_SRC += tests/threads/priority-preempt.c | ||
| 29 | tests/threads_SRC += tests/threads/priority-sema.c | ||
| 30 | tests/threads_SRC += tests/threads/priority-condvar.c | ||
| 31 | tests/threads_SRC += tests/threads/priority-donate-chain.c | ||
| 32 | |||
| 33 | # Not used in SS 2012 | ||
| 34 | MLFQS_TESTS = mlfqs-load-1 mlfqs-load-60 mlfqs-load-avg mlfqs-recent-1 \ | ||
| 35 | mlfqs-fair-2 mlfqs-fair-20 mlfqs-nice-2 mlfqs-nice-10 mlfqs-block) | ||
| 36 | |||
| 37 | tests/threads_SRC += tests/threads/mlfqs-load-1.c | ||
| 38 | tests/threads_SRC += tests/threads/mlfqs-load-60.c | ||
| 39 | tests/threads_SRC += tests/threads/mlfqs-load-avg.c | ||
| 40 | tests/threads_SRC += tests/threads/mlfqs-recent-1.c | ||
| 41 | tests/threads_SRC += tests/threads/mlfqs-fair.c | ||
| 42 | tests/threads_SRC += tests/threads/mlfqs-block.c | ||
| 43 | |||
| 44 | MLFQS_OUTPUTS = \ | ||
| 45 | tests/threads/mlfqs-load-1.output \ | ||
| 46 | tests/threads/mlfqs-load-60.output \ | ||
| 47 | tests/threads/mlfqs-load-avg.output \ | ||
| 48 | tests/threads/mlfqs-recent-1.output \ | ||
| 49 | tests/threads/mlfqs-fair-2.output \ | ||
| 50 | tests/threads/mlfqs-fair-20.output \ | ||
| 51 | tests/threads/mlfqs-nice-2.output \ | ||
| 52 | tests/threads/mlfqs-nice-10.output \ | ||
| 53 | tests/threads/mlfqs-block.output | ||
| 54 | |||
| 55 | $(MLFQS_OUTPUTS): KERNELFLAGS += -mlfqs | ||
| 56 | $(MLFQS_OUTPUTS): TIMEOUT = 480 | ||
