only:SimulatorFunctionalTestLauncher explicit gradle task

This commit is contained in:
rusefillc 2023-10-16 14:51:50 -04:00
parent f38ce65264
commit 1eacdbd025
2 changed files with 10 additions and 2 deletions

View File

@ -51,8 +51,8 @@ jobs:
run: ./compile.sh
- name: Run Simulator Functional Test
working-directory: ./simulator/
run: java -cp ../java_console/autotest/build/libs/autotest-all.jar com.rusefi.SimulatorFunctionalTestLauncher start
working-directory: ./java_tools/
run: ./gradlew simulatorFunctionalTestLauncherWithSimulator
- name: Run Linux Simulator for 10 seconds
working-directory: ./simulator/

View File

@ -9,3 +9,11 @@ dependencies {
api project(':ecu_io')
implementation global_libs.junit
}
task simulatorFunctionalTestLauncherWithSimulator(type: Exec) {
dependsOn build
group = "Execution"
description = "Run the main class with ExecTask"
workingDir = rootProject.projectDir
commandLine "java", "-classpath", sourceSets.main.runtimeClasspath.getAsPath(), "com.rusefi.SimulatorFunctionalTestLauncher", "start"
}