From 2068fd3b7b452783d2a14663a1b05e247b969e1e Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Sun, 11 Oct 2020 15:59:07 +0200 Subject: [PATCH] Fixed tests. --- .../java/dk/camelot64/kickc/test/TestPrograms.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java index fd874d6ab..1dd756b87 100644 --- a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java +++ b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java @@ -44,11 +44,6 @@ public class TestPrograms { public TestPrograms() { } - @Test - public void testLoopHeadTrivial1() throws IOException, URISyntaxException { - compileAndCompare("loophead-trivial-1.c"); - } - @Test public void testStrengthReduction1() throws IOException, URISyntaxException { compileAndCompare("strength-reduction-1.c"); @@ -1292,6 +1287,11 @@ public class TestPrograms { compileAndCompare("optimize-unsigned-comparisons.c"); } + @Test + public void testLoopHeadTrivial1() throws IOException, URISyntaxException { + compileAndCompare("loophead-trivial-1.c"); + } + // TODO: Fix loop head problem! https://gitlab.com/camelot/kickc/issues/290 @Test public void testLoopheadProblem3() throws IOException, URISyntaxException { @@ -1301,13 +1301,13 @@ public class TestPrograms { // TODO: Fix loop head problem! https://gitlab.com/camelot/kickc/issues/290 @Test public void testLoopheadProblem2() throws IOException, URISyntaxException { - compileAndCompare("loophead-problem-2.c", log().verboseLoopUnroll()); + compileAndCompare("loophead-problem-2.c"); } // TODO: Fix loop head problem! https://gitlab.com/camelot/kickc/issues/261 @Test public void testLoopheadProblem() throws IOException, URISyntaxException { - compileAndCompare("loophead-problem.c", log().verboseLoopUnroll()); + compileAndCompare("loophead-problem.c"); } @Test