Skip to content

Commit

Permalink
fixup! Switch to run
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed May 9, 2024
1 parent f70d805 commit 27ab75c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/reporttests_script.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ reference_suffix = VERSION >= v"1.7" ? "" : "_pre_1_7"
end

@testset "no specified test script" begin
@test !success(`$script_runner_cmd`)
p = run(ignorestatus(`$script_runner_cmd`))
@test !success(p)
end

@testset "default output file" begin
Expand Down Expand Up @@ -52,7 +53,7 @@ end
output_file = "testlog.xml"
p = run(ignorestatus(`$script_runner_cmd $test_script -- foo bar baz`))
try
@test success(p)
@test !success(p)
@test isfile(output_file)
@test_reference reference_file read(output_file, String) |> clean_output
finally
Expand Down

0 comments on commit 27ab75c

Please sign in to comment.