Add timeouts.
[pintos-anon] / src / tests / threads / Make.tests
index 64b9ef3fd2421fce7aa73030e0277a4c5e19fed3..d59d5c49a69620c987c18632ce952e2f92522c54 100644 (file)
@@ -28,11 +28,16 @@ tests/threads_SRC += tests/threads/mlfqs-load-avg.c
 tests/threads_SRC += tests/threads/mlfqs-recent-1.c
 tests/threads_SRC += tests/threads/mlfqs-fair.c
 
-tests/threads/mlfqs-load-1.output                              \
-tests/threads/mlfqs-load-60.output                             \
-tests/threads/mlfqs-load-avg.output                            \
-tests/threads/mlfqs-recent-1.output                            \
-tests/threads/mlfqs-fair-2.output                              \
-tests/threads/mlfqs-fair-20.output                             \
-tests/threads/mlfqs-nice-2.output                              \
-tests/threads/mlfqs-nice-10.output: KERNELFLAGS += -mlfqs
+MLFQS_OUTPUTS =                                \
+tests/threads/mlfqs-load-1.output              \
+tests/threads/mlfqs-load-60.output             \
+tests/threads/mlfqs-load-avg.output            \
+tests/threads/mlfqs-recent-1.output            \
+tests/threads/mlfqs-fair-2.output              \
+tests/threads/mlfqs-fair-20.output             \
+tests/threads/mlfqs-nice-2.output              \
+tests/threads/mlfqs-nice-10.output
+
+$(MLFQS_OUTPUTS): KERNELFLAGS += -mlfqs
+$(MLFQS_OUTPUTS): TIMEOUT = 240
+