Skip to content

Commit

Permalink
ci: Enable CTEST_OUTPUT_ON_FAILURE on all targets (aws#3789)
Browse files Browse the repository at this point in the history
Co-authored-by: Harrison Kaiser <[email protected]>
  • Loading branch information
harrisonkaiser and uwaces authored Jan 30, 2023
1 parent a107a34 commit a924960
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/s2n_freebsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# permissions and limitations under the License.
#
set -eu
export CTEST_OUTPUT_ON_FAILURE=1
export CTEST_PARALLEL_LEVEL=$(sysctl hw.ncpu | awk '{print $2}')

cmake . -Brelease -GNinja -DCMAKE_BUILD_TYPE=Release
Expand Down
1 change: 1 addition & 0 deletions .github/s2n_openbsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# permissions and limitations under the License.
#
set -eu
export CTEST_OUTPUT_ON_FAILURE=1
export CTEST_PARALLEL_LEVEL=$(sysctl -n hw.ncpuonline)

cmake . -Brelease -GNinja -DCMAKE_BUILD_TYPE=Release
Expand Down
1 change: 1 addition & 0 deletions .github/s2n_osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
set -eu
source codebuild/bin/s2n_setup_env.sh

export CTEST_OUTPUT_ON_FAILURE=1
BREWINSTLLPATH=$(brew --prefix [email protected])
OPENSSL_1_1_1_INSTALL_DIR="${BREWINSTLLPATH:-"/usr/local/Cellar/[email protected]/1.1.1?"}"

Expand Down
2 changes: 1 addition & 1 deletion codebuild/bin/s2n_codebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ run_unit_tests() {
-DBUILD_SHARED_LIBS=on
cmake --build ./build -- -j $(nproc)
test_linked_libcrypto ./build/bin/s2nc
make -C build test ARGS=-j$(nproc);
env CTEST_OUTPUT_ON_FAILURE=1 make -C build test ARGS=-j$(nproc);
}

# Run Multiple tests on one flag.
Expand Down

0 comments on commit a924960

Please sign in to comment.