Skip to content

Commit

Permalink
Debug a failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed May 26, 2020
1 parent f68feb1 commit 4075a06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/execution.jl
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,9 @@ script = """
let (code, out, err) = julia_script(script, `-g0`)
@test code == 1
@test occursin("ERROR: KernelException: exception thrown during kernel execution on device", err)
if !isempty(out)
@warn "Unexpected output" code out err
end
@test isempty(out)
end

Expand Down

0 comments on commit 4075a06

Please sign in to comment.