File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,10 +91,10 @@ function bats_runner() {
9191 compile \
9292 --quiet \
9393 --preset " ${CXXET_PRESET} " \
94- --target infra_sanitizer_check \
9594 --target cxxet_examples \
96- --target cxxet_unit_tests \
9795 --target cxxet_large_benchmarks \
96+ --target cxxet_unit_tests \
97+ --target infra_sanitizer_check \
9898 --last-defines \
9999 --ignore-compile_commands >&2
100100
Original file line number Diff line number Diff line change @@ -45,8 +45,14 @@ function teardown_file() {
4545 assert_output --partial " doctest::"
4646}
4747
48- @test " Micro benchmarks runner contains expected symbols" {
49- run nm -C " ${CXXET_BIN_DIR} /cxxet_benchmarks"
48+ @test " If present, micro benchmarks runner contains expected symbols" {
49+ local micro_benchmark_runner=" ${CXXET_BIN_DIR} /cxxet_benchmarks"
50+
51+ if [[ ! -f " ${micro_benchmark_runner} " ]]; then
52+ skip " micro benchmark runner not present"
53+ fi
54+
55+ run nm -C " ${micro_benchmark_runner} "
5056 assert_success
5157 # contains internal implementation symbols & `google benchmark` stuff:
5258 assert_output --partial " cxxet::impl::"
You can’t perform that action at this time.
0 commit comments