From: Ben Pfaff Date: Tue, 12 Oct 2004 17:17:18 +0000 (+0000) Subject: Neither of these tests works under MLFQS. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dfe847579b0d17d9209b398f0def781420755d2;p=pintos-anon Neither of these tests works under MLFQS. --- 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);