Created
April 4, 2017 21:48
-
-
Save samcv/401e93e49375366981e7d9b36cbc4593 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use v6; | |
use Test; | |
plan 1; | |
{ | |
my $output = run($*EXECUTABLE, "--rxtrace", "-e", q/say "hello world"/, :err, :out).err.slurp-rest; | |
# If we're running a LLVM coverage profile make sure to strip that only that | |
# line | |
if %*ENV<LLVM_PROFILE_FILE> { | |
$output ~~ s/'LLVM Profile Note'.*?\n//; | |
} | |
# RT #128050 | |
is $output, | |
"", | |
'--rxtrace does not crash'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment