1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2025-02-04 00:30:43 +00:00

Fixed tests.

This commit is contained in:
jespergravgaard 2020-10-11 15:59:07 +02:00
parent a4e62009d0
commit 2068fd3b7b

View File

@ -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