mirror of https://github.com/rusefi/rusefi-1.git
test easter egg improvement
This commit is contained in:
parent
48ad5716a4
commit
9201761358
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue