diff --git a/CHANGELOG.md b/CHANGELOG.md index 01baf25..c5cd948 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # Changelog + All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), @@ -6,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.22.0] - 2026-05-13 + +### Changed + +- Added `run_regression_tests` to `build.yml` +- Add `--output-on-failure` to `runtests.yml` + ## [4.21.0] - 2026-04-22 ### Changed diff --git a/src/commands/runtests.yml b/src/commands/runtests.yml index 67d6892..7184dbf 100644 --- a/src/commands/runtests.yml +++ b/src/commands/runtests.yml @@ -15,4 +15,4 @@ steps: name: "Run tests" command: | cd ${CIRCLE_WORKING_DIRECTORY}/workspace/build-<< parameters.repo >> - ctest << parameters.ctest_options >> |& tee /logfiles/ctest.log + ctest --output-on-failure << parameters.ctest_options >> |& tee /logfiles/ctest.log diff --git a/src/jobs/build.yml b/src/jobs/build.yml index de68886..04968ff 100755 --- a/src/jobs/build.yml +++ b/src/jobs/build.yml @@ -55,6 +55,10 @@ parameters: description: "Boolean to trigger unit tests" type: boolean default: false + run_regression_tests: + description: "Boolean to trigger regression tests" + type: boolean + default: false ctest_options: description: "Options to pass to ctest" type: string @@ -233,6 +237,12 @@ steps: repo: << parameters.repo >> rebuild_procs: << parameters.rebuild_procs >> cmake_generator: << parameters.cmake_generator >> + - when: + condition: + or: + - equal: [ true, << parameters.run_unit_tests >> ] + - equal: [ true, << parameters.run_regression_tests >> ] + steps: - runtests: repo: << parameters.repo >> ctest_options: << parameters.ctest_options >>