Commit 59c8be3f authored by uxrog's avatar uxrog
Browse files

Merge branch 'exec/bugs-2022-01-17' into 'master'

Add broken tests

See merge request !54
parents 144b2fa3 d94d2d53
Pipeline #188916 failed with stage
in 21 minutes and 41 seconds
class UbLoopFun {
public static void main(String[] args) {
boolean b;
while (b) {};
while(true){}
}
}
class UbSimpleArrayDeref {
public static void main(String[] main) {
int p = (new int[33][])[0][3];
System.out.println(p);
}
}
class CsePhi {
public static void main(String[] args) {
int i = 0;
int j = 0;
int z = 0;
while (i < 5) {
i = i + 1;
j = j + 1;
z = i + j;
}
System.out.println(z);
}
}
class EscapingArray {
public static void main(String[] args) {
int[][] t = new int[4][];
t[2] = new int[6];
t[1] = t[2];
t[2][5] = 3;
System.out.println(t[1][5]);
System.out.println(t[2][5]);
}
}
......@@ -36,7 +36,7 @@ GITHUB_URL="https://api.github.com/repos/$GITHUB_PATH"
# Set pipefail to get mjtest exit code instead of tee exit code
exec 3>&1
set -o pipefail
MJ_OUTPUT="$(/mjtest/mjt.py lexer syntax ast semantic compile-firm compile /compiler-under-test/run 2>&1 | tee /dev/fd/3)"
MJ_OUTPUT="$(MJ_TIMEOUT=30 MJ_BIG_TIMEOUT=180 /mjtest/mjt.py lexer syntax ast semantic compile-firm-only compile-only compile-firm compile /compiler-under-test/run 2>&1 | tee /dev/fd/3)"
MJ_EXIT_CODE="$?"
# Close copy, unset pipefail
exec 3>&-
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment