[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/26: tests: guix-environment.sh: Use C_INCLUDE_PATH, not CPATH.
From: |
guix-commits |
Subject: |
25/26: tests: guix-environment.sh: Use C_INCLUDE_PATH, not CPATH. |
Date: |
Sun, 7 Mar 2021 22:00:19 -0500 (EST) |
marusich pushed a commit to branch wip-ppc64le
in repository guix.
commit abe6ec72ed8b7f20aa186b25bba27d602844dd6b
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
- 08/26: gnu: bdb-4.8: Fix configure on powerpc64le-linux., (continued)
- 08/26: gnu: bdb-4.8: Fix configure on powerpc64le-linux., guix-commits, 2021/03/07
- 01/26: gnu: bootstrap: Add support for powerpc64le-linux., guix-commits, 2021/03/07
- 05/26: gnu: binutils-final: Support more Power architectures., guix-commits, 2021/03/07
- 06/26: gnu: gcc-4.7: On powerpc64le, fix /lib64 references., guix-commits, 2021/03/07
- 09/26: gnu: guile-avahi: Fix compilation on powerpc64le-linux., guix-commits, 2021/03/07
- 11/26: gnu: texlive-latex-base: Fix compilation on powerpc64le*., guix-commits, 2021/03/07
- 12/26: gnu: libelf: Fix compilation for powerpc64le-linux., guix-commits, 2021/03/07
- 15/26: syscalls: Fix RNDADDTOENTCNT on powerpc64le-linux., guix-commits, 2021/03/07
- 23/26: gnu: openjpeg: Disable failing tests group., guix-commits, 2021/03/07
- 24/26: gnu: rust: Make it "supported" on all systems but i686-linux., guix-commits, 2021/03/07
- 25/26: tests: guix-environment.sh: Use C_INCLUDE_PATH, not CPATH.,
guix-commits <=
- 10/26: gnu: texlive-bin: Fix compilation on powerpc64le*., guix-commits, 2021/03/07
- 13/26: Add powerpc64le-linux as a supported Guix architecture., guix-commits, 2021/03/07
- 14/26: syscalls: Fix clone on powerpc64le-linux., guix-commits, 2021/03/07
- 16/26: ci: %cross-targets: Add powerpc64le-linux-gnu., guix-commits, 2021/03/07
- 17/26: utils: Fix target-64bit? on powerpc64le-linux., guix-commits, 2021/03/07
- 18/26: tests: gremlin: Skip file-needed/recursive if DT_NEEDED is empty., guix-commits, 2021/03/07
- 19/26: tests: pack: Fix %gzip-compressor and a failing test., guix-commits, 2021/03/07
- 20/26: gnu: commencement: Fix findutils-boot0 on some systems., guix-commits, 2021/03/07
- 21/26: gnu: gcc: Set gcc-8 as default., guix-commits, 2021/03/07
- 22/26: .guix-authorizations: Add lle_bout., guix-commits, 2021/03/07