Skip to content

Commit

Permalink
Skip shlibload tests if no-atexit is configured
Browse files Browse the repository at this point in the history
the shared library load tests fail if no-atexit is configured.  The
entire test suite relies on atexit handling to indicate an at exit
handler has run, by producing a file that the test recipe then reads.
With no-atexit that never happens, and the test fails

If no-atexit is specified, skip all the tests

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #23523)
  • Loading branch information
nhorman authored and t8m committed Feb 14, 2024
1 parent 4f6133f commit 5327309
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/recipes/90-test_shlibload.t
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ plan skip_all => "Test is disabled on AIX" if config('target') =~ m|^aix|;
plan skip_all => "Test is disabled on NonStop" if config('target') =~ m|^nonstop|;
plan skip_all => "Test only supported in a dso build" if disabled("dso");
plan skip_all => "Test is disabled in an address sanitizer build" unless disabled("asan");
plan skip_all => "Test is disabled if no-atexit is specified" if disabled("atexit");

plan tests => 10;

Expand Down

0 comments on commit 5327309

Please sign in to comment.