logo       

Re: Automake-1.7.5: tests/dejagnu7.test: msg#00028

sysutils.automake.bugs

Subject: Re: Automake-1.7.5: tests/dejagnu7.test

Hi,

On Sun, 25 May 2003, Christian Cornelssen wrote:

> Probably the test should be skipped?

If so, here is a patch draft. DejaGNU 1.4.0 gets skipped with it.
I guess that DejaGNU >= 1.5 is OK, but I really do not know the
threshold. If you know better, adapt it.

Index: Changelog
>From Christian Cornelssen <ccorn@xxxxxxxxxxxxxxx>

* tests/dejagnu7.test: Skip test if DejaGNU version < 1.5.

--- tests/dejagnu7.test.orig Fri Apr 18 11:17:30 2003
+++ tests/dejagnu7.test Sun May 25 16:32:27 2003
@@ -24,6 +24,15 @@
required=runtest
. ./defs || exit 1

+# Skip DejaGNU < 1.5
+case `runtest --version | sed -n '$s,^[^0-9]*,,p'` in
+ "" | 0* ) exit 77 ;;
+ 1[0-9]* ) ;;
+ 1.[5-9]* ) ;;
+ 1.[1-4][0-9]* ) ;;
+ 1* ) exit 77 ;;
+esac
+
cat > failtcl << 'END'
#! /bin/sh
echo whatever






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise