Adjust cmake buildsystem to run verbose tests when run_tests is enabled. (#10651)

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2024-10-22 16:32:40 -04:00
committed by GitHub
parent 9dbc4d7247
commit 5b841f51f3
3 changed files with 10 additions and 8 deletions

View File

@@ -24,6 +24,6 @@ class CMake < Package
def self.check
puts "Testing with #{CREW_NINJA} test.".orange if @run_tests
system "#{CREW_NINJA} -C #{@cmake_build_relative_dir}/builddir test" if @run_tests
system "ctest --test-dir #{@cmake_build_relative_dir}/builddir --rerun-failed --output-on-failure" if @run_tests
end
end