looks like UI options does not work yet :( trying to make command line option a bit more usable
This commit is contained in:
parent
8c333c0bc8
commit
7a08c18ad6
|
@ -3,6 +3,7 @@
|
||||||
build/
|
build/
|
||||||
build_kinetis/
|
build_kinetis/
|
||||||
out/
|
out/
|
||||||
|
logs/
|
||||||
blbuild/
|
blbuild/
|
||||||
Debug_EMS/
|
Debug_EMS/
|
||||||
Release_EMS/
|
Release_EMS/
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
set port=%1
|
||||||
|
echo "Port (optional): %port%"
|
||||||
|
java -jar ../java_console_binary/rusefi_console.jar functional_test %port%
|
|
@ -324,7 +324,9 @@ public class Launcher {
|
||||||
String toolName = args.length == 0 ? null : args[0];
|
String toolName = args.length == 0 ? null : args[0];
|
||||||
|
|
||||||
if (TOOL_NAME_FUNCTIONAL_TEST.equals(toolName)) {
|
if (TOOL_NAME_FUNCTIONAL_TEST.equals(toolName)) {
|
||||||
RealHwTest.main(new String[0]);
|
// passing port argument if it was specified
|
||||||
|
String[] toolArgs = args.length == 1 ? new String[0] : new String[]{args[1]};
|
||||||
|
RealHwTest.main(toolArgs);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue