Repository: lucy-clownfish Updated Branches: refs/heads/0.6 fd6393d4c -> a720b8d4a refs/heads/master fd6393d4c -> a720b8d4a
Only print Makefile contents under automated testing Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/a720b8d4 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/a720b8d4 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/a720b8d4 Branch: refs/heads/0.6 Commit: a720b8d4ad5492b59f7ccb447d0759de955b5faf Parents: fd6393d Author: Nick Wellnhofer <wellnho...@aevum.de> Authored: Wed Nov 30 20:34:33 2016 +0100 Committer: Nick Wellnhofer <wellnho...@aevum.de> Committed: Fri Dec 2 20:28:50 2016 +0100 ---------------------------------------------------------------------- runtime/perl/buildlib/Clownfish/Build.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/a720b8d4/runtime/perl/buildlib/Clownfish/Build.pm ---------------------------------------------------------------------- diff --git a/runtime/perl/buildlib/Clownfish/Build.pm b/runtime/perl/buildlib/Clownfish/Build.pm index 3692f46..83d95aa 100644 --- a/runtime/perl/buildlib/Clownfish/Build.pm +++ b/runtime/perl/buildlib/Clownfish/Build.pm @@ -154,8 +154,10 @@ sub ACTION_code { my $error = system("$^X -Mblib -MClownfish::Test -e1"); if ($error) { print STDERR "Build succeeded, but 'use Clownfish::Test' failed.\n"; - my $makefile = do { local(@ARGV, $/) = 'Makefile'; <> }; - print STDERR "Contents of Makefile:\n$makefile"; + if ($ENV{AUTOMATED_TESTING}) { + my $makefile = do { local(@ARGV, $/) = 'Makefile'; <> }; + print STDERR "\nContents of Makefile:\n$makefile"; + } die; } }