tests.cc-multilib: put error on separate line

This commit is contained in:
Artturin 2023-05-05 23:55:24 +03:00
parent c4a06db832
commit 1d9f58c7a4

View File

@ -10,23 +10,23 @@ stdenv.mkDerivation {
NIX_DEBUG=1 $CC -v NIX_DEBUG=1 $CC -v
NIX_DEBUG=1 $CXX -v NIX_DEBUG=1 $CXX -v
printf "checking whether compiler builds valid C binaries... " >&2 printf "checking whether compiler builds valid C binaries...\n " >&2
$CC -o cc-check ${./cc-main.c} $CC -o cc-check ${./cc-main.c}
./cc-check ./cc-check
printf "checking whether compiler builds valid 32bit C binaries... " >&2 printf "checking whether compiler builds valid 32bit C binaries...\n " >&2
$CC -m32 -o c32-check ${./cc-main.c} $CC -m32 -o c32-check ${./cc-main.c}
./c32-check ./c32-check
printf "checking whether compiler builds valid 64bit C binaries... " >&2 printf "checking whether compiler builds valid 64bit C binaries...\n " >&2
$CC -m64 -o c64-check ${./cc-main.c} $CC -m64 -o c64-check ${./cc-main.c}
./c64-check ./c64-check
printf "checking whether compiler builds valid 32bit C++ binaries... " >&2 printf "checking whether compiler builds valid 32bit C++ binaries...\n " >&2
$CXX -m32 -o cxx32-check ${./cxx-main.cc} $CXX -m32 -o cxx32-check ${./cxx-main.cc}
./cxx32-check ./cxx32-check
printf "checking whether compiler builds valid 64bit C++ binaries... " >&2 printf "checking whether compiler builds valid 64bit C++ binaries...\n " >&2
$CXX -m64 -o cxx64-check ${./cxx-main.cc} $CXX -m64 -o cxx64-check ${./cxx-main.cc}
./cxx64-check ./cxx64-check