libtool-patches
[Top][All Lists]
Advanced

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

Make modified libtool script executable in cwrapper.at test


From: Peter Rosin
Subject: Make modified libtool script executable in cwrapper.at test
Date: Thu, 29 Jan 2009 09:02:57 +0100
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Hi!

As reported by Roumen Petrov [1], the cwrapper test is somewhat
disfunctional.

Ok to push the attached?

Cheers,
Peter

[1] http://lists.gnu.org/archive/html/libtool-patches/2009-01/msg00201.html

2009-01-29  Peter Rosin  <address@hidden>

        Make modified libtool script in cwrapper test executable
        * tests/cwrapper.at: Make modified libtool script executable.
        Report by Roumen Petrov.
diff --git a/ChangeLog b/ChangeLog
index e823ff7..f7fd4d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-29  Peter Rosin  <address@hidden>
+
+       Make modified libtool script in cwrapper test executable
+       * tests/cwrapper.at: Make modified libtool script executable.
+       Report by Roumen Petrov.
+
 2009-01-28  Akim Demaille  <address@hidden>
 
        Clean space uses.
diff --git a/tests/cwrapper.at b/tests/cwrapper.at
index ce4572e..42f8d0f 100644
--- a/tests/cwrapper.at
+++ b/tests/cwrapper.at
@@ -58,6 +58,7 @@ orig_LIBTOOL=$LIBTOOL
 for restrictive_flags in '-Wall -Werror' '-std=c89 -Wall -Werror' '-std=c99 
-Wall -Werror'; do
   CFLAGS="$orig_CFLAGS $restrictive_flags"
   sed "s/LTCFLAGS=.*/&' $restrictive_flags'/" < "$orig_LIBTOOL" > ./libtool
+  chmod +x libtool
   LIBTOOL=./libtool
 
   # make sure $restrictive_flags do not cause a failure

reply via email to

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