[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Windows Line Endings
From: |
Peter Rosin |
Subject: |
Re: Windows Line Endings |
Date: |
Sun, 07 Oct 2012 01:08:47 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
On 2012-10-06 07:58, Gary V. Vaughan wrote:
> Hi Peter,
>
> On 6 Oct 2012, at 06:20, Peter Rosin <address@hidden> wrote:
>> Over to mdemo.at. It fails on MinGW because I do not have
>> any installed libltdl in MinGW. Temporarily moving the
>> installed Cygwin libltdl out of the lib search path makes
>> the test fail on Cygwin as well. So, I believe this is
>> a generic failure.
>
> I've pushed a patch that fixes all of the above. Pending as-yet-undiscovered
> Windows madness, I think that should allow the test to work on your test
> environments too.
That part of mdemo now works, thanks!
But that said, I'm about to push this revert of one of the line
ending "fixes" that was masked by this orthogonal problem.
Cheers,
Peter
>From b78fd9740ef6a2ed67a1ef14e76483af784fb5f0 Mon Sep 17 00:00:00 2001
From: Peter Rosin <address@hidden>
Date: Sun, 7 Oct 2012 00:57:26 +0200
Subject: [PATCH] tests: refix line ending problems on MinGW.
In commit 22f5750, one of the hunks actually introduced
line ending problems. Revert that hunk.
* tests/mdemo.at: Use AT_DATA for expected output when the
output from compiled programs is fed through $EGREP.
Signed-off-by: Peter Rosin <address@hidden>
---
tests/mdemo.at | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tests/mdemo.at b/tests/mdemo.at
index 70c5532..48b7f63 100644
--- a/tests/mdemo.at
+++ b/tests/mdemo.at
@@ -824,7 +824,8 @@ int main (int argc, char **argv)
}
]])
-LT_AT_HOST_DATA([expout],
+# Not using LT_AT_HOST_DATA below, since $EGREP normalizes line endings.
+AT_DATA([expout],
[[Welcome to GNU libtool mdemo2!
module name: foo1
module reference count: 1
--
1.7.9
- Re: Windows Line Endings [WAS Re: [SCM] GNU Libtool branch, master, updated. v2.4.2-273-ge24f183], (continued)
- Re: Windows Line Endings [WAS Re: [SCM] GNU Libtool branch, master, updated. v2.4.2-273-ge24f183], Eric Blake, 2012/10/05
- Re: Windows Line Endings, Gary V. Vaughan, 2012/10/05
- Re: Windows Line Endings, Bob Friesenhahn, 2012/10/05
- Re: Windows Line Endings, Gary V. Vaughan, 2012/10/05
- Re: Windows Line Endings, Charles Wilson, 2012/10/06
- Re: Windows Line Endings [WAS Re: [SCM] GNU Libtool branch, master, updated. v2.4.2-273-ge24f183], Peter Rosin, 2012/10/05
- Re: Windows Line Endings, Peter Rosin, 2012/10/05
- Re: Windows Line Endings, Gary V. Vaughan, 2012/10/06
- Re: Windows Line Endings, Peter Rosin, 2012/10/06
- Re: Windows Line Endings, Gary V. Vaughan, 2012/10/06
- Re: Windows Line Endings,
Peter Rosin <=
- Re: Windows Line Endings, Roumen Petrov, 2012/10/07
- Re: Windows Line Endings, Peter Rosin, 2012/10/08
- Re: Windows Line Endings, Roumen Petrov, 2012/10/08
- Re: Windows Line Endings, Peter Rosin, 2012/10/09
- Re: Windows Line Endings, Roumen Petrov, 2012/10/09
- Re: Windows Line Endings, Bob Friesenhahn, 2012/10/09
- Re: Windows Line Endings, Peter Rosin, 2012/10/10
- Re: Windows Line Endings, Gary V. Vaughan, 2012/10/06
- Re: Windows Line Endings, Gary V. Vaughan, 2012/10/06
- Re: Windows Line Endings, Peter Rosin, 2012/10/06