diff options
author | Sadie Powell <sadie@witchery.services> | 2021-05-27 22:14:03 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-05-28 20:07:50 +0100 |
commit | 071499a22cbf7132ddf9f5a5d804c92b4273f806 (patch) | |
tree | 39f7b62b2d6ea4ed7f994d88711ee52b9a028c6a /tools/test-build | |
parent | 7dd1f81e12e72919b918117f9b86bb9611be132a (diff) |
Write to STDERR on error in test-build.
Diffstat (limited to 'tools/test-build')
-rwxr-xr-x | tools/test-build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/test-build b/tools/test-build index 007096a48..b9eace0eb 100755 --- a/tools/test-build +++ b/tools/test-build @@ -38,7 +38,7 @@ my $root = dirname $RealDir; my @compilers = $#ARGV >= 0 ? @ARGV : qw(g++ clang++ icpc); for my $compiler (@compilers) { if (system "$compiler -v > /dev/null 2>&1") { - say "Skipping $compiler as it is not installed on this system!"; + say STDERR "Skipping $compiler as it is not installed on this system!"; next; } $ENV{CXX} = $compiler; @@ -54,11 +54,11 @@ for my $compiler (@compilers) { push @configure_flags, '--disable-auto-extras'; } if (execute "$root/configure", '--development', '--socketengine', $socketengine, @configure_flags) { - say "Failed to configure using the $compiler compiler and the $socketengine socket engine!"; + say STDERR "Failed to configure using the $compiler compiler and the $socketengine socket engine!"; exit 1; } if (execute 'make', '--directory', $root, '--jobs', get_cpu_count() + 1, 'install') { - say "Failed to compile using the $compiler compiler and the $socketengine socket engine!"; + say STDERR "Failed to compile using the $compiler compiler and the $socketengine socket engine!"; exit 1; } say "Building using the $compiler compiler and the $socketengine socket engine succeeded!"; |