This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21aae86
)
skip bench.t if valgrind is installed but broken
author
Lukas Mai
<l.mai@web.de>
Fri, 13 Oct 2017 21:22:11 +0000
(23:22 +0200)
committer
Lukas Mai
<l.mai@web.de>
Fri, 13 Oct 2017 21:22:11 +0000
(23:22 +0200)
t/porting/bench.t
patch
|
blob
|
blame
|
history
diff --git
a/t/porting/bench.t
b/t/porting/bench.t
index
7f7a4dd
..
a28a434
100644
(file)
--- a/
t/porting/bench.t
+++ b/
t/porting/bench.t
@@
-27,6
+27,7
@@
skip_all "not linux" unless $^O eq 'linux';
skip_all "no valgrind" unless -x '/bin/valgrind' || -x '/usr/bin/valgrind';
# Address sanitizer clashes horribly with cachegrind
skip_all "not with ASAN" if $Config{ccflags} =~ /sanitize=address/;
+skip_all "cachegrind broken" if system "( ulimit -c 0; valgrind -q --tool=cachegrind --cachegrind-out-file=/dev/null $^X -e0 ) 2>/dev/null";
my $bench_pl = "Porting/bench.pl";