Skip to content

Commit

Permalink
Merge pull request #4357 from esl/fail-when-end-per-testcase-fails
Browse files Browse the repository at this point in the history
Fail when end_per_testcase fails
  • Loading branch information
chrzaszcz committed Aug 28, 2024
2 parents ed4ec1d + bde0168 commit ee1d5e4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 271 deletions.
3 changes: 2 additions & 1 deletion big_tests/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
{amqp_client, "3.13.0-rc.2"},
{rabbit_common, "3.13.4"},
{esip, "1.0.52"},
{jid, "2.1.0", {pkg, mongoose_jid}}
{jid, "2.1.0", {pkg, mongoose_jid}},
{ct_groups_summary_hook, "0.1.1"}
]}.
5 changes: 5 additions & 0 deletions big_tests/rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
{pkg,<<"credentials_obfuscation">>,<<"3.4.0">>},
1},
{<<"csv">>,{pkg,<<"csve">>,<<"3.0.3">>},0},
{<<"ct_groups_summary_hook">>,
{pkg,<<"ct_groups_summary_hook">>,<<"0.1.1">>},
0},
{<<"escalus">>,{pkg,<<"escalus">>,<<"4.2.15">>},0},
{<<"esip">>,{pkg,<<"esip">>,<<"1.0.52">>},0},
{<<"exml">>,{pkg,<<"hexml">>,<<"3.4.1">>},0},
Expand Down Expand Up @@ -41,6 +44,7 @@
{<<"cowlib">>, <<"DB8F7505D8332D98EF50A3EF34B34C1AFDDEC7506E4EE4DD4A3A266285D282CA">>},
{<<"credentials_obfuscation">>, <<"34E18B126B3AEFD6E8143776FBE1CECEEA6792307C99AC5EE8687911F048CFD7">>},
{<<"csv">>, <<"69E7D9B3FDC72016644368762C6A3E6CBFEB85BCCADBF1BD99AB6C827E360E04">>},
{<<"ct_groups_summary_hook">>, <<"21B94902B6CF2D345F4D790D34B49654E71CB8E570DCCC9C1C3616DAE720A7AA">>},
{<<"escalus">>, <<"1F153CFBEAA67B012F7A34D0AD61A8CD68ED7C0BF9F02B94606B339FBCDCD617">>},
{<<"esip">>, <<"A2840287C493A4280E6FBA57A257706843B025C315875E38B03FD07190E22DBA">>},
{<<"exml">>, <<"9581FE6512D9772C61BBE611CD4A8E5BB90B4D4481275325EC520F7A931A9393">>},
Expand Down Expand Up @@ -73,6 +77,7 @@
{<<"cowlib">>, <<"E1E1284DC3FC030A64B1AD0D8382AE7E99DA46C3246B815318A4B848873800A4">>},
{<<"credentials_obfuscation">>, <<"738ACE0ED5545D2710D3F7383906FC6F6B582D019036E5269C4DBD85DBCED566">>},
{<<"csv">>, <<"741D1A55AABADAA3E0FE13051050101A73E90C4570B9F9403A939D9546813521">>},
{<<"ct_groups_summary_hook">>, <<"997CDE48FEB0C398989E4091A341D4FFF43CFA06CDB8FB2E80CC4A0E0362691C">>},
{<<"escalus">>, <<"048CEB922E64F23DD05890A60256EDC28B86969E48B0BE5FDE202F62315C9E4F">>},
{<<"esip">>, <<"6F00165395900500AA262CE0297162D93931C78C1464D89FD0EDC6E3D6BC011F">>},
{<<"exml">>, <<"D8E7894E2544402B4986EEB2443C15B51B14F686266F091DBF2777D1D99A2FA2">>},
Expand Down
175 changes: 0 additions & 175 deletions big_tests/src/ct_groups_summary_hook.erl

This file was deleted.

93 changes: 0 additions & 93 deletions tools/summarise-ct-results

This file was deleted.

4 changes: 2 additions & 2 deletions tools/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ run_small_tests() {
tools/print-dots.sh stop
SMALL_SUMMARIES_DIRS=( ${BASE}/_build/test/logs/ct_run* )
SMALL_SUMMARIES_DIR=$(choose_newest_directory "${SMALL_SUMMARIES_DIRS[@]}")
${TOOLS}/summarise-ct-results ${SMALL_SUMMARIES_DIR}
big_tests/_build/default/lib/ct_groups_summary_hook/priv/summarise-ct-results ${SMALL_SUMMARIES_DIR}
}

run_eunit_tests() {
Expand Down Expand Up @@ -226,7 +226,7 @@ run_tests() {
done

echo "SUMMARIES_DIRS=$SUMMARIES_DIRS"
${TOOLS}/summarise-ct-results ${SUMMARIES_DIRS}
big_tests/_build/default/lib/ct_groups_summary_hook/priv/summarise-ct-results ${SUMMARIES_DIRS}
BIG_STATUS_BY_SUMMARY=$?

echo
Expand Down

0 comments on commit ee1d5e4

Please sign in to comment.