Skip to content

Commit 77b6f76

Browse files
committed
Skip summarise-ct-results in small tests
We use rebar3 for small tests, it is smart enough to fail properly. We also need to pull ct_groups_summary_hook dependency to use summarise-ct-results.
1 parent 03107db commit 77b6f76

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: tools/test.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,9 @@ run_small_tests() {
9191
fi
9292
export REBAR_CT_EXTRA_ARGS="$REBAR_CT_EXTRA_ARGS"
9393
make ct
94+
RESULT="$?"
9495
tools/print-dots.sh stop
95-
SMALL_SUMMARIES_DIRS=( ${BASE}/_build/test/logs/ct_run* )
96-
SMALL_SUMMARIES_DIR=$(choose_newest_directory "${SMALL_SUMMARIES_DIRS[@]}")
97-
big_tests/_build/default/lib/ct_groups_summary_hook/priv/summarise-ct-results ${SMALL_SUMMARIES_DIR}
96+
return "$RESULT"
9897
}
9998

10099
run_eunit_tests() {

0 commit comments

Comments
 (0)