[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Ileana Dumitrescu |
Date: |
Wed, 20 Nov 2024 10:40:55 -0500 (EST) |
branch: master
commit bbc5fa945633fc478111bfc77ef49600d989dd54
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Mon Nov 18 22:20:05 2024 +0200
libtool.at: Fix failures for 'test silencing warnings'
Replace 'g++' with variable '$CXX' and add version number for flag
'-version-info'.
---
tests/libtool.at | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/libtool.at b/tests/libtool.at
index 7143a508..770a57af 100755
--- a/tests/libtool.at
+++ b/tests/libtool.at
@@ -251,9 +251,9 @@ AT_DATA([x.cpp],
void f(int *p) { *p = 21; }
]])
-AT_CHECK([$LIBTOOL --mode=compile --tag=CXX g++ -c x.cpp], [0], [stdout],
[stderr])
+AT_CHECK([$LIBTOOL --mode=compile --tag=CXX $CXX -c x.cpp], [0], [stdout],
[stderr])
-AT_CHECK([$LIBTOOL --no-warnings --mode=link --tag=CXX g++ -o libx.la
-no-canonical-prefixes -R /usr/lib64/ -version-info x.lo], [0], [stdout],
[stderr])
+AT_CHECK([$LIBTOOL --no-warnings --mode=link --tag=CXX $CXX -o libx.la
-no-canonical-prefixes -R /usr/lib64/ -version-info 0:0:0 x.lo], [0], [stdout],
[stderr])
AT_CHECK([$GREP -- 'warning' stderr], [1], [ignore])
- master updated (5586070a -> 27662ec0), Ileana Dumitrescu, 2024/11/20
- [no subject],
Ileana Dumitrescu <=
- [no subject], Ileana Dumitrescu, 2024/11/20
- [no subject], Ileana Dumitrescu, 2024/11/20
- [no subject], Ileana Dumitrescu, 2024/11/20
- [no subject], Ileana Dumitrescu, 2024/11/20
- [no subject], Ileana Dumitrescu, 2024/11/20
- [no subject], Ileana Dumitrescu, 2024/11/20
- [no subject], Ileana Dumitrescu, 2024/11/20
- [no subject], Ileana Dumitrescu, 2024/11/20
- [no subject], Ileana Dumitrescu, 2024/11/20
- [no subject], Ileana Dumitrescu, 2024/11/20