Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/root-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ jobs:
- platform: mac-beta
is_special: true
arch: ARM64
overrides: ["gnuinstall=ON"]

runs-on: # Using '[self-hosted, ..., ...]' does not work for some reason :)
- self-hosted
Expand Down Expand Up @@ -405,8 +406,8 @@ jobs:
overrides: ["runtime_cxxmodules=Off"]
- image: alma9
is_special: true
property: march_native
overrides: ["CMAKE_BUILD_TYPE=RelWithDebInfo", "CMAKE_CXX_FLAGS=-march=native", "CMAKE_C_FLAGS=-march=native", "builtin_zlib=ON", "builtin_zstd=ON"]
property: "march_native, gnuinstall"
overrides: ["CMAKE_BUILD_TYPE=RelWithDebInfo", "CMAKE_CXX_FLAGS=-march=native", "CMAKE_C_FLAGS=-march=native", "builtin_zlib=ON", "builtin_zstd=ON", "gnuinstall=ON"]
- image: alma9
is_special: true
property: arm64
Expand Down Expand Up @@ -606,7 +607,7 @@ jobs:

- name: CTest in post-install test project
working-directory: ${{ env.POST_INSTALL_DIR }}
run: ctest -j $(nproc)
run: ctest --output-on-failure -j

event_file:
# For any event that is not a PR, the CI will always run. In PRs, the CI
Expand Down
9 changes: 6 additions & 3 deletions roottest/root/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ ROOTTEST_ADD_TEST(StatusBitsCheck
OUTREF execStatusBitsCheck.ref)

add_test(NAME root_exe_exitStatus COMMAND $<TARGET_FILE:root.exe> "-e invalid" "--no_exist")
set_property(TEST root_exe_exitStatus PROPERTY WILL_FAIL True)
set_tests_properties(root_exe_exitStatus PROPERTIES
WILL_FAIL True
ENVIRONMENT ROOTIGNOREPREFIX=1)
add_test(NAME root_exe_errorMessage COMMAND $<TARGET_FILE:root.exe> "-e invalid" "--no_exist")
set_property(TEST root_exe_errorMessage PROPERTY
PASS_REGULAR_EXPRESSION "root: unrecognized option '-e invalid'.*--no_exist.*Try 'root --help'")
set_tests_properties(root_exe_errorMessage PROPERTIES
PASS_REGULAR_EXPRESSION "root: unrecognized option '-e invalid'.*--no_exist.*Try 'root --help'"
ENVIRONMENT ROOTIGNOREPREFIX=1)
Loading