[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EXEEXT fot tests/execute-mode.at
From: |
Ralf Wildenhues |
Subject: |
Re: EXEEXT fot tests/execute-mode.at |
Date: |
Sat, 25 Jul 2009 11:33:54 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-15) |
Hello Roumen,
* Roumen Petrov wrote on Fri, Jul 24, 2009 at 03:13:47PM CEST:
> Please find attached a minor fix for test case.
Thanks. This test also needed -no-undefined, so I've added that to the
patch and pushed, as below.
Cheers,
Ralf
2009-07-24 Roumen Petrov <address@hidden> (tiny change)
Fixup 'execute mode' test for w32.
* tests/execute-mode.at (execute mode): Add missing $EXEEXT.
(LDFLAGS): Add -no-undefined.
diff --git a/tests/execute-mode.at b/tests/execute-mode.at
index 0fba29c..a1f2017 100644
--- a/tests/execute-mode.at
+++ b/tests/execute-mode.at
@@ -110,6 +110,7 @@ int main (int argc, char **argv)
}
]])
+LDFLAGS="$LDFLAGS -no-undefined"
instdir=`pwd`/inst
libdir=$instdir/lib
@@ -211,7 +212,7 @@ do
done
# Check that .la files are not transformed by the wrapper searching loop.
-AT_CHECK([$LIBTOOL --mode=execute echo ./main liba.lo libfakelib.la], [],
[stdout])
+AT_CHECK([$LIBTOOL --mode=execute echo ./main$EXEEXT liba.lo libfakelib.la],
[], [stdout])
# This could be .libs/lt-main or similar (or just plain `main').
AT_CHECK([grep main stdout], [], [ignore])
AT_CHECK([grep liba.lo stdout], [], [ignore])