Skip to content

Commit

Permalink
add simple smokescreen test for --bug-report (#51776)
Browse files Browse the repository at this point in the history
follow-up PR to #51750 since BugReporting was broken at the time
  • Loading branch information
simeonschaub authored Oct 20, 2023
1 parent abe4303 commit 6d1c0a0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/cmdlineargs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,10 @@ end

# test --bug-report=rr
if Sys.islinux() && Sys.ARCH in (:i686, :x86_64, :aarch64) # rr is only available on these platforms
# TODO: get this to work on CI
@test_skip success(setenv(`$(Base.julia_cmd()) --bug-report=rr-local -e 'exit()'`, "JULIA_RR_RECORD_ARGS" => "-n"))
mktempdir() do temp_trace_dir
@test success(pipeline(setenv(`$(Base.julia_cmd()) --bug-report=rr-local -e 'exit()'`,
"JULIA_RR_RECORD_ARGS" => "-n --nested=ignore",
"_RR_TRACE_DIR" => temp_trace_dir);
#=stdout, stderr=#))
end
end

0 comments on commit 6d1c0a0

Please sign in to comment.