Skip to content

Commit 5c04d0e

Browse files
committed
Add environment variable TEST_CMD to print the memcached command executed during tests
1 parent 4b9e619 commit 5c04d0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

t/lib/MemcachedTest.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ sub new_memcached {
360360
$valgrind .= " $ENV{VALGRIND_EXTRA_ARGS}";
361361
}
362362
my $cmd = "$builddir/timedrun 600 $valgrind $exe $args";
363-
#print STDERR "RUN: $cmd\n\n";
363+
print STDERR "RUN: $cmd\n\n" if $ENV{TEST_CMD};
364364
exec $cmd;
365365
exit; # never gets here.
366366
}

0 commit comments

Comments
 (0)