automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] {compilers-for-testsuite} tests: no need to unset CFLAGS in test


From: Stefano Lattarini
Subject: [PATCH] {compilers-for-testsuite} tests: no need to unset CFLAGS in tests requiring 'gcc' anymore
Date: Tue, 25 Oct 2011 12:42:48 +0200
User-agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; )

On Tuesday 25 October 2011, Stefano Lattarini wrote:
> I've rebased this branch on the latest `testsuite-work' branch
> (v1.11-1520-gcc29c61), and pushed.
> 
And I've also pushed the attached patch, which removes few lines of
obsolete code from a couple of tests.

Regards,
  Stefano
From d8943dc8ce10cc06ee33783c55ea3c6519fff984 Mon Sep 17 00:00:00 2001
Message-Id: <address@hidden>
From: Stefano Lattarini <address@hidden>
Date: Tue, 25 Oct 2011 12:36:05 +0200
Subject: [PATCH] {compilers-for-testsuite} tests: no need to unset CFLAGS in 
tests requiring 'gcc' anymore

* tests/ccnoco.test: Since this test have "gcc" in $required,
there is no need to manually nullify the CFLAGS variable, since
now `tests/defs' should automatically re-define that to a value
appropriate for gcc.
* tests/ccnoco3.test: Likewise.
---
 ChangeLog          |    9 +++++++++
 tests/ccnoco.test  |    4 ----
 tests/ccnoco3.test |    4 ----
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b4f6996..bb741bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-10-25  Stefano Lattarini  <address@hidden>
+
+       tests: no need to unset CFLAGS in tests requiring 'gcc' anymore
+       * tests/ccnoco.test: Since this test have "gcc" in $required,
+       there is no need to manually nullify the CFLAGS variable, since
+       now `tests/defs' should automatically re-define that to a value
+       appropriate for gcc.
+       * tests/ccnoco3.test: Likewise.
+
 2011-10-21  Stefano Lattarini  <address@hidden>
 
        test defs: allow compilers to be auto-selected on user's request
diff --git a/tests/ccnoco.test b/tests/ccnoco.test
index bcd18fc..780ffe6 100755
--- a/tests/ccnoco.test
+++ b/tests/ccnoco.test
@@ -59,10 +59,6 @@ END
 
 chmod +x Mycomp
 
-# Ignore user CFLAGS.
-CFLAGS=
-export CFLAGS
-
 # Make sure the compiler doesn't understand `-c -o'
 CC=`pwd`/Mycomp
 export CC
diff --git a/tests/ccnoco3.test b/tests/ccnoco3.test
index 2a32f6b..82fb320 100755
--- a/tests/ccnoco3.test
+++ b/tests/ccnoco3.test
@@ -59,10 +59,6 @@ END
 
 chmod +x Mycomp
 
-# Ignore user CFLAGS.
-CFLAGS=
-export CFLAGS
-
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE --copy --add-missing
-- 
1.7.2.3


reply via email to

[Prev in Thread] Current Thread [Next in Thread]