tests: fix line ending problems on MinGW

* tests/cdemo.at: Use LT_AT_HOST_DATA for expected output from
compiled programs.
* tests/demo.at: Likewise.
* tests/depdemo.at: Likewise.
* tests/f77demo.at: Likewise.
* tests/fcdemo.at: Likewise.
* tests/mdemo.at: Likewise.
* tests/tagdemo.at: Likewise.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
This commit is contained in:
Peter Rosin 2012-10-05 21:31:33 +02:00
parent e24f18306f
commit 22f57507c7
7 changed files with 12 additions and 12 deletions

View File

@ -117,7 +117,7 @@ int main ()
}
]])
AT_DATA([expout],
LT_AT_HOST_DATA([expout],
[[Welcome to GNU libtool cdemo!
** This is libfoo **
hello returned: 57616

View File

@ -339,7 +339,7 @@ int main ()
}
]])
AT_DATA([expout],
LT_AT_HOST_DATA([expout],
[[Welcome to GNU Hell!
cos (0.0) = 1
** This is not GNU Hello. There is no built-in mail reader. **
@ -901,7 +901,7 @@ int foo2 (void) {
}
]])
AT_DATA([expout],
LT_AT_HOST_DATA([expout],
[[Welcome to GNU Hell!
cos (0.0) = 1
foo2 cos (0.0) = 1

View File

@ -240,7 +240,7 @@ for i in 1 2 3 4; do
done
AT_DATA([expout],
LT_AT_HOST_DATA([expout],
[[dependencies:
l1 (0)
l2 (0)

View File

@ -249,7 +249,7 @@ m4_define([_LT_CHECK_EXECUTE],
# on whether it is redirected to a file or sent to stdout, so we
# just check return status, and ignore output.
# Advice on this weirdness from a Fortran user much appreciated!
AT_DATA([expout],
LT_AT_HOST_DATA([expout],
[[ Welcome to GNU libtool Fortran demo!
Real programmers write in FORTRAN.
fsub called
@ -262,7 +262,7 @@ AT_DATA([expout],
]])
LT_AT_EXEC_CHECK([./fprogram], 0, [ignore])
AT_DATA([expout],
LT_AT_HOST_DATA([expout],
[[Welcome to GNU libtool mixed C/Fortran demo!
The C subroutine returned, claiming that 2*2 = 4
The C subroutine is ok!
@ -294,7 +294,7 @@ _LT_SETUP
LT_AT_CHECK_CONFIG([--disable-shared],
[^build_old_libs=yes], [^build_libtool_libs=no])
AT_DATA([expout],
LT_AT_HOST_DATA([expout],
[[ Welcome to GNU libtool Fortran demo!
Real programmers write in FORTRAN.
fsub called

View File

@ -263,7 +263,7 @@ m4_define([_LT_CHECK_EXECUTE],
# on whether it is redirected to a file or sent to stdout, so we
# just check return status, and ignore output.
# Advice on this weirdness from a Fortran user much appreciated!
AT_DATA([expout],
LT_AT_HOST_DATA([expout],
[[ Welcome to GNU libtool Fortran demo!
Real programmers write in FORTRAN.
fsub called
@ -276,7 +276,7 @@ AT_DATA([expout],
]])
LT_AT_EXEC_CHECK([./fprogram], 0, [ignore])
AT_DATA([expout],
LT_AT_HOST_DATA([expout],
[[Welcome to GNU libtool mixed C/Fortran demo!
The C subroutine returned, claiming that 2*2 = 4
The C subroutine is ok!

View File

@ -592,7 +592,7 @@ main (int argc, char **argv)
}
]])
AT_DATA([expout],
LT_AT_HOST_DATA([expout],
[[Welcome to GNU Hell!
cos (0.0) = 1
** This is not GNU Hello. There is no built-in mail reader. **
@ -831,7 +831,7 @@ int main (int argc, char **argv)
}
]])
AT_DATA([expout],
LT_AT_HOST_DATA([expout],
[[Welcome to GNU libtool mdemo2!
module name: foo1
module reference count: 1

View File

@ -315,7 +315,7 @@ AT_DATA([conv.cpp],
int convenience (void) { return 1; }
]])
AT_DATA([expout],
LT_AT_HOST_DATA([expout],
[[Welcome to GNU libtool tagdemo C++!
** This is libfoo (tagdemo) **
foobar::hello returned: 57616