test easter egg improvement

This commit is contained in:
rusefi 2019-12-21 14:20:03 -05:00
parent 48ad5716a4
commit 9201761358
2 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,9 @@ package com.rusefi;
import com.rusefi.io.LinkManager;
import org.jetbrains.annotations.NotNull;
import java.io.PrintWriter;
import java.io.StringWriter;
import static com.rusefi.AutoTest.mainTestBody;
import static com.rusefi.Timeouts.SECOND;
@ -47,6 +50,10 @@ public class RealHwTest {
try {
runRealHardwareTest(port);
} catch (Throwable e) {
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
e.printStackTrace(pw);
FileLog.MAIN.logLine("Test failed: " + e + " at " + sw);
e.printStackTrace();
return false;
}

View File

@ -225,7 +225,7 @@ public class StartupFrame {
}
/**
* Here we listen to keystrokes while console frame is being displayed and if magic "test" word is typed
* Here we listen to keystrokes while console start-up frame is being displayed and if magic "test" word is typed
* we launch a functional test on real hardware, same as Jenkins runs within continues integration
*/
@NotNull