[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/23: tests: guix-environment.sh: Use C_INCLUDE_PATH, not CPATH.
From: |
guix-commits |
Subject: |
23/23: tests: guix-environment.sh: Use C_INCLUDE_PATH, not CPATH. |
Date: |
Thu, 11 Mar 2021 02:05:07 -0500 (EST) |
marusich pushed a commit to branch wip-ppc64le
in repository guix.
commit e8b83e75791c0f61273cfdf281d06aa403f8e2a9
Author: Chris Marusich <cmmarusich@gmail.com>
AuthorDate: Sun Mar 7 17:15:40 2021 -0800
tests: guix-environment.sh: Use C_INCLUDE_PATH, not CPATH.
* tests/guix-environment.sh: In tests that verify that the search paths are
set up correctly, check C_INCLUDE_PATH instead of CPATH. This fixes a test
failure, which was likely introduced in commit
2073b55e6b964cb8ca15e8c74cb32dac00f05f0d. That commit switched gcc back to
using C_INCLUDE_PATH instead of CPATH, but it did not update this test.
---
tests/guix-environment.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/guix-environment.sh b/tests/guix-environment.sh
index afadcbe..2a201ae 100644
--- a/tests/guix-environment.sh
+++ b/tests/guix-environment.sh
@@ -192,7 +192,7 @@ then
# Make sure the bootstrap binaries are all listed where they belong.
grep -E "^export PATH=\"$profile/bin\"" "$tmpdir/a"
- grep -E "^export CPATH=\"$profile/include\"" "$tmpdir/a"
+ grep -E "^export C_INCLUDE_PATH=\"$profile/include\"" "$tmpdir/a"
grep -E "^export LIBRARY_PATH=\"$profile/lib\"" "$tmpdir/a"
for dep in bootstrap-binaries-0 gcc-bootstrap-0 glibc-bootstrap-0
do
@@ -206,8 +206,8 @@ then
# as returned by '--search-paths'.
guix environment --bootstrap --no-substitutes --pure \
-e '(@ (guix tests) gnu-make-for-tests)' \
- -- /bin/sh -c 'echo $PATH $CPATH $LIBRARY_PATH' > "$tmpdir/b"
- ( . "$tmpdir/a" ; echo $PATH $CPATH $LIBRARY_PATH ) > "$tmpdir/c"
+ -- /bin/sh -c 'echo $PATH $C_INCLUDE_PATH $LIBRARY_PATH' > "$tmpdir/b"
+ ( . "$tmpdir/a" ; echo $PATH $C_INCLUDE_PATH $LIBRARY_PATH ) > "$tmpdir/c"
cmp "$tmpdir/b" "$tmpdir/c"
rm "$tmpdir"/*
@@ -228,7 +228,7 @@ then
# Make sure the bootstrap binaries are all listed where they belong.
grep -E "^export PATH=\"$profile/bin\"" "$tmpdir/a"
- grep -E "^export CPATH=\"$profile/include\"" "$tmpdir/a"
+ grep -E "^export C_INCLUDE_PATH=\"$profile/include\"" "$tmpdir/a"
grep -E "^export LIBRARY_PATH=\"$profile/lib\"" "$tmpdir/a"
for dep in bootstrap-binaries-0 gcc-bootstrap-0 glibc-bootstrap-0 \
guile-bootstrap
- 10/23: gnu: texlive-bin: Fix compilation on powerpc64le*., (continued)
- 10/23: gnu: texlive-bin: Fix compilation on powerpc64le*., guix-commits, 2021/03/11
- 12/23: gnu: libelf: Fix compilation for powerpc64le-linux., guix-commits, 2021/03/11
- 14/23: syscalls: Fix clone on powerpc64le-linux., guix-commits, 2021/03/11
- 03/23: utils: Add target-powerpc? procedure., guix-commits, 2021/03/11
- 07/23: gnu: glibc: Fix ldd path on powerpc*., guix-commits, 2021/03/11
- 05/23: gnu: binutils-final: Support more Power architectures., guix-commits, 2021/03/11
- 04/23: gnu: binutils-final: Provide bash for binary on powerpc-linux., guix-commits, 2021/03/11
- 11/23: gnu: texlive-latex-base: Fix compilation on powerpc64le*., guix-commits, 2021/03/11
- 19/23: tests: pack: Fix %gzip-compressor and a failing test., guix-commits, 2021/03/11
- 16/23: ci: %cross-targets: Add powerpc64le-linux-gnu., guix-commits, 2021/03/11
- 23/23: tests: guix-environment.sh: Use C_INCLUDE_PATH, not CPATH.,
guix-commits <=
- 17/23: utils: Fix target-64bit? on powerpc64le-linux., guix-commits, 2021/03/11
- 21/23: gnu: gcc: Set gcc-8 as default., guix-commits, 2021/03/11
- 13/23: Add powerpc64le-linux as a supported Guix architecture., guix-commits, 2021/03/11
- 18/23: tests: gremlin: Skip file-needed/recursive if DT_NEEDED is empty., guix-commits, 2021/03/11
- 15/23: syscalls: Fix RNDADDTOENTCNT on powerpc64le-linux., guix-commits, 2021/03/11
- 22/23: gnu: openjpeg: Disable failing tests group., guix-commits, 2021/03/11
- 20/23: gnu: commencement: Fix findutils-boot0 on some systems., guix-commits, 2021/03/11
- 08/23: gnu: bdb-4.8: Fix configure on powerpc64le-linux., guix-commits, 2021/03/11