More info, maybe?
This commit is contained in:
parent
6d859a5168
commit
f21ec5826e
|
@ -289,7 +289,10 @@ public abstract class BaseTest {
|
||||||
writeFile(tmpdir, "input", input);
|
writeFile(tmpdir, "input", input);
|
||||||
writeLexerTestFile(lexerName, showDFA);
|
writeLexerTestFile(lexerName, showDFA);
|
||||||
addSourceFiles("Test.cs");
|
addSourceFiles("Test.cs");
|
||||||
compile();
|
if(!compile()) {
|
||||||
|
System.err.println("Failed to compile!");
|
||||||
|
return stderrDuringParse;
|
||||||
|
}
|
||||||
String output = execTest();
|
String output = execTest();
|
||||||
if ( stderrDuringParse!=null && stderrDuringParse.length()>0 ) {
|
if ( stderrDuringParse!=null && stderrDuringParse.length()>0 ) {
|
||||||
System.err.println(stderrDuringParse);
|
System.err.println(stderrDuringParse);
|
||||||
|
|
Loading…
Reference in New Issue