Skip to content

Commit

Permalink
Try to consolidate Unix/Windows libexec directory in coin configs
Browse files Browse the repository at this point in the history
Change-Id: Ie381cb062fc78fe5c291b8d0b49fca5f752c7c30
Reviewed-by: Alexandru Croitor <[email protected]>
  • Loading branch information
jimis committed Jun 15, 2022
1 parent fe0e87c commit 1eb2d4d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
15 changes: 2 additions & 13 deletions coin/instructions/cmake_run_ctest_enforce_exit_code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,14 @@ instructions:
equals_value: Windows
- type: EnvironmentVariable
variableName: TESTRUNNER
variableValue: "{{.InstallDir}}/libexec/qt-testrunner.py --"
disable_if:
condition: property
property: host.os
equals_value: Windows
variableValue: "{{.Env.LIBEXEC_INSTALL_DIR}}qt-testrunner.py --"
- type: AppendToEnvironmentVariable
variableName: TESTRUNNER
variableValue: " {{.SourceDir}}/coin_qnx_qemu_runner.sh"
enable_if:
condition: property
property: target.osVersion
in_values: [QNX_710]
- type: EnvironmentVariable
variableName: TESTRUNNER
variableValue: "{{.InstallDir}}\\bin\\qt-testrunner.py --"
enable_if:
condition: property
property: host.os
equals_value: Windows
- type: Group
enable_if:
condition: property
Expand All @@ -42,7 +31,7 @@ instructions:
# Override qt-testrunner as we don't want to gather test statistics
# because many tests FAIL when built with ASAN.
variableName: TESTRUNNER
variableValue: "{{.InstallDir}}/libexec/sanitizer-testrunner.py"
variableValue: "{{.Env.LIBEXEC_INSTALL_DIR}}sanitizer-testrunner.py"
- type: EnvironmentVariable
variableName: COIN_CTEST_RESULTSDIR
variableValue: "{{.AgentWorkingDir}}\\testresults"
Expand Down
14 changes: 14 additions & 0 deletions coin/instructions/prepare_building_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@ instructions:
property: host.os
equals_value: Windows

- type: EnvironmentVariable
variableName: LIBEXEC_INSTALL_DIR
variableValue: "{{.InstallDir}}\\bin\\"
enable_if:
condition: property
property: host.os
equals_value: Windows
- type: EnvironmentVariable
variableName: LIBEXEC_INSTALL_DIR
variableValue: "{{.InstallDir}}/libexec/"
disable_if:
condition: property
property: host.os
equals_value: Windows

# Export ICC specific env. variables
- type: Group
Expand Down

0 comments on commit 1eb2d4d

Please sign in to comment.