From c5f89926217d960e8abb1d6721b63ceb863f2c60 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 12 Oct 2004 17:17:18 +0000 Subject: [PATCH] Neither of these tests works under MLFQS. --- src/tests/threads/p1-1.c | 4 ++++ src/tests/threads/p1-3.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/tests/threads/p1-1.c b/src/tests/threads/p1-1.c index 03c4d72..7e52866 100644 --- a/src/tests/threads/p1-1.c +++ b/src/tests/threads/p1-1.c @@ -10,6 +10,10 @@ Taskar , and Toli Kuznets . */ +#ifdef MLFQS +#error This test not applicable with MLFQS enabled. +#endif + #include "threads/test.h" #include #include "threads/synch.h" diff --git a/src/tests/threads/p1-3.c b/src/tests/threads/p1-3.c index 3caa7f9..2c3530d 100644 --- a/src/tests/threads/p1-3.c +++ b/src/tests/threads/p1-3.c @@ -6,15 +6,15 @@ , Yu Ping Hu . Modified by arens. */ +#ifdef MLFQS +#error This test not applicable with MLFQS enabled. +#endif + #include "threads/test.h" #include #include "threads/synch.h" #include "threads/thread.h" -#ifdef MLFQS -#error This test not applicable with MLFQS enabled. -#endif - static void test_preempt (void); static void test_fifo (void); static void test_donate_return (void); -- 2.30.2