From 89772811b1b495084c467b425e40805d7d6036a0 Mon Sep 17 00:00:00 2001 From: T0astBread Date: Fri, 4 Dec 2020 19:10:42 +0100 Subject: [PATCH] TEST: Don't mute System.out while running tests --- src/main/java/automark/stages/TestStage.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main/java/automark/stages/TestStage.java b/src/main/java/automark/stages/TestStage.java index 2afaf26..67e5886 100644 --- a/src/main/java/automark/stages/TestStage.java +++ b/src/main/java/automark/stages/TestStage.java @@ -90,17 +90,7 @@ public static List run(File workingDir, Properties config, List { System.out.println("Testing submission " + submission.getSlug()); - - // Mute System.out - System.setOut(new PrintStream(new OutputStream() { - public void write(int b) { - //DO NOTHING - } - })); - runTests(testSuite, finalTestClass, submission); - - System.setOut(sout); System.out.println("Thread " + threadNum + " is done"); }); testThread.setPriority(Thread.MIN_PRIORITY);