[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automake-1.7.5: tests/dejagnu7.test
From: |
Christian Cornelssen |
Subject: |
Re: Automake-1.7.5: tests/dejagnu7.test |
Date: |
Sun, 25 May 2003 16:37:03 +0200 (CEST) |
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 <address@hidden>
* 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