Add infinite loop tests for compile mode
Testing for infinite loops using the file ending .inf.java
or .inf.mj
is currently only done in the compile-firm
and not in the compile
mode.
Adding the JavaInfiniteLoopTest
to the compile
TestMode would allow us to test that our backend does keep infinite loops.