mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-05 14:40:42 +08:00
tests: rerefix line ending problems on MinGW.
The previous commit broke Linux->MinGW cross-compiling. Report by Roumen Petrov. * tests/mdemo.at: Normalize line endings after $EGREP. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
This commit is contained in:
parent
b78fd9740e
commit
0f31e37510
@ -824,7 +824,8 @@ int main (int argc, char **argv)
|
||||
}
|
||||
]])
|
||||
|
||||
# Not using LT_AT_HOST_DATA below, since $EGREP normalizes line endings.
|
||||
# Normalize line endings after $EGREP instead of using LT_AT_HOST_DATA
|
||||
# here, since $EGREP *may* normalize line endings for us.
|
||||
AT_DATA([expout],
|
||||
[[Welcome to GNU libtool mdemo2!
|
||||
module name: foo1
|
||||
@ -849,9 +850,14 @@ LT_AT_CHECK_CONFIG([--with-included-ltdl])
|
||||
|
||||
LT_AT_MAKE
|
||||
|
||||
LT_AT_EXEC_CHECK([./mdemo2_static], 0, [expout], [],
|
||||
LT_AT_EXEC_CHECK([./mdemo2_static], 0, [stdout], [],
|
||||
[./foo1.la ./libfoo2.la | $EGREP -v '^module filename: '])
|
||||
LT_AT_EXEC_CHECK([./mdemo2], 0, [expout], [],
|
||||
LT_AT_UNIFY_NL([stdout])
|
||||
LT_AT_CHECK([diff expout stdout])
|
||||
|
||||
LT_AT_EXEC_CHECK([./mdemo2], 0, [stdout], [],
|
||||
[./foo1.la ./libfoo2.la | $EGREP -v '^module filename: '])
|
||||
LT_AT_UNIFY_NL([stdout])
|
||||
LT_AT_CHECK([diff expout stdout])
|
||||
|
||||
AT_CLEANUP
|
||||
|
Loading…
Reference in New Issue
Block a user