This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Libtool".
The branch, master has been updated via a61a1114ae1464c39b54e88d1a30735c7daca4b2 (commit) via 22f57507c736f67d78a001e3f0591cab0d9484fa (commit) from e24f18306f92f7b31aa20f713924b740c0c850bc (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit a61a1114ae1464c39b54e88d1a30735c7daca4b2 Author: Peter Rosin <p...@lysator.liu.se> Date: Fri Oct 5 21:43:45 2012 +0200 tests: make LT_AT_HOST_DATA retain whitespace on MinGW Fixes issues with depdemo.at, f77demo.at and fcdemo.at. * tests/testsuite.at (LT_AT_HOST_DATA) [MinGW]: Keep leading and trailing spaces and tabs when converting line endings. commit 22f57507c736f67d78a001e3f0591cab0d9484fa Author: Peter Rosin <p...@lysator.liu.se> Date: Fri Oct 5 21:31:33 2012 +0200 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 <p...@lysator.liu.se> ----------------------------------------------------------------------- Summary of changes: tests/cdemo.at | 2 +- tests/demo.at | 4 ++-- tests/depdemo.at | 2 +- tests/f77demo.at | 6 +++--- tests/fcdemo.at | 4 ++-- tests/mdemo.at | 4 ++-- tests/tagdemo.at | 2 +- tests/testsuite.at | 3 +-- 8 files changed, 13 insertions(+), 14 deletions(-) diff --git a/tests/cdemo.at b/tests/cdemo.at index f50106c..885845c 100644 --- a/tests/cdemo.at +++ b/tests/cdemo.at @@ -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 diff --git a/tests/demo.at b/tests/demo.at index b79564a..b3d2532 100644 --- a/tests/demo.at +++ b/tests/demo.at @@ -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 diff --git a/tests/depdemo.at b/tests/depdemo.at index 3c0666b..763bae4 100644 --- a/tests/depdemo.at +++ b/tests/depdemo.at @@ -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) diff --git a/tests/f77demo.at b/tests/f77demo.at index 78da9a8..5978b3d 100644 --- a/tests/f77demo.at +++ b/tests/f77demo.at @@ -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 diff --git a/tests/fcdemo.at b/tests/fcdemo.at index 3a545eb..0ade9bb 100644 --- a/tests/fcdemo.at +++ b/tests/fcdemo.at @@ -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! diff --git a/tests/mdemo.at b/tests/mdemo.at index 40f89b4..5fa77f6 100644 --- a/tests/mdemo.at +++ b/tests/mdemo.at @@ -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 diff --git a/tests/tagdemo.at b/tests/tagdemo.at index 3909d56..d54a612 100644 --- a/tests/tagdemo.at +++ b/tests/tagdemo.at @@ -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 diff --git a/tests/testsuite.at b/tests/testsuite.at index 60ff5d5..2a55d04 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -256,8 +256,7 @@ AT_CHECK([test -z "$leftovers"]) m4_define([LT_AT_HOST_DATA], [AT_DATA([$1], [$2]) case $host_os in mingw*) - while read -r l; do printf "%s\r\n" "$l"; done < $1 > $1.t - mv -f $1.t $1 ;; + awk '{printf ("%s\r\n", [$]0);}' < $1 > $1.t && mv -f $1.t $1 ;; esac]) hooks/post-receive -- GNU Libtool