diff options
author | Hugo Landau <hlandau@openssl.org> | 2024-02-12 13:17:01 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2024-03-21 17:57:50 +0000 |
commit | 9abcf116962e9a117717c751de93846f11da16cd (patch) | |
tree | 4f2e9ceab5ca27f320409b693f09b8f5cfecc889 /test | |
parent | f2db70962cacc2602bc614d51e0610085c99e999 (diff) |
Move artifact upload code into the shell script
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23551)
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/70-test_quic_multistream.t | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/test/recipes/70-test_quic_multistream.t b/test/recipes/70-test_quic_multistream.t index 7257ca0938..abaeed8e58 100644 --- a/test/recipes/70-test_quic_multistream.t +++ b/test/recipes/70-test_quic_multistream.t @@ -16,10 +16,10 @@ setup("test_quic_multistream"); plan skip_all => "QUIC protocol is not supported by this OpenSSL build" if disabled('quic'); -plan tests => 3; +plan tests => 2; my $qlog_output; -if (!disabled('qlog') && $ENV{OSSL_RUN_CI_TESTS} == "1") { +if (!disabled('qlog')) { $qlog_output = result_dir("qlog-output"); print "# Writing qlog output to $qlog_output\n"; rmtree($qlog_output, { safe => 1 }); @@ -44,18 +44,3 @@ SKIP: { "running qlog verification script"); }; } - -SKIP: { - skip "no qlog", 1 if disabled('qlog'); - skip "not running CI tests", 1 unless $ENV{OSSL_RUN_CI_TESTS}; - skip "not running artifacts upload", 1 unless $ENV{OSSL_CI_ARTIFACTS_PATH}; - - subtest "copy qlog artifacts to upload directory" => sub { - plan tests => 1; - - my $artifacts_path = $ENV{OSSL_CI_ARTIFACTS_PATH}; - mkpath("${artifacts_path}/quic_multistream_test"); - ok(run(cmd(["mv", "--", $qlog_output, - "${artifacts_path}/quic_multistream_test/"]))); - }; -} |