bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14891: GNU Automake 1.14 FAIL: 5


From: Stefano Lattarini
Subject: bug#14891: GNU Automake 1.14 FAIL: 5
Date: Sun, 21 Jul 2013 17:23:37 +0100

Reference:
<>

On 07/17/2013 01:47 PM, Dennis Clarke wrote:
> 
> FAIL: t/test-extensions.sh
>
Please try the patch below for this, and let me know if it
fixes this spurious failure.

Thanks,
  Stefano

---- 8< ---- 8< ---- 8< --- 8< ---- 8< ---- 8< ---- 8< ---- 8< ----

>From 9ac9b2ceef705596cdf77501ea2669f17d1f280e Mon Sep 17 00:00:00 2001
Message-Id: <address@hidden>
From: Stefano Lattarini <address@hidden>
Date: Sun, 21 Jul 2013 17:15:38 +0100
Subject: [PATCH] tests: avoid use of intervals to capitalize letters

It was causing spurious failures with with Solaris 8 'tr'.
See automake bug#14891.

* t/test-extensions.sh: Adjust.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/test-extensions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/test-extensions.sh b/t/test-extensions.sh
index 0700991..ca7c5ec 100644
--- a/t/test-extensions.sh
+++ b/t/test-extensions.sh
@@ -39,7 +39,7 @@ $AUTOMAKE -a
 grep -i 'log' Makefile.in # For debugging.

 for lc in $valid_extensions; do
-  uc=$(echo $lc | tr '[a-z]' '[A-Z]')
+  uc=$(echo $lc | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ)
   $FGREP "\$(${uc}_LOG_COMPILER)" Makefile.in
   grep "^${uc}_LOG_COMPILE =" Makefile.in
   grep "^\.${lc}\.log:" Makefile.in
-- 
1.8.3.1.605.g85318f5






reply via email to

[Prev in Thread] Current Thread [Next in Thread]