automake-patches
[Top][All Lists]
Advanced

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

FYI: delete dirname.test


From: Alexandre Duret-Lutz
Subject: FYI: delete dirname.test
Date: 19 Jul 2002 22:16:51 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

I'm checking this in.

This test was always skipped since yesterday, when _AM_DIRNAME was removed.

2002-07-19  Alexandre Duret-Lutz  <address@hidden>

        * tests/dirname.test: Delete.  We don't define _AM_DIRNAME anymore.
        * tests/Makefile.am (TESTS): Remove dirname.test.

Index: tests/Makefile.am
===================================================================
RCS file: /cvs/automake/automake/tests/Makefile.am,v
retrieving revision 1.420
diff -u -r1.420 Makefile.am
--- tests/Makefile.am   19 Jul 2002 11:04:14 -0000      1.420
+++ tests/Makefile.am   19 Jul 2002 20:20:58 -0000
@@ -132,7 +132,6 @@
 depend4.test \
 destdir.test \
 dirforbid.test \
-dirname.test \
 discover.test \
 distcommon.test \
 distcommon2.test \
Index: tests/dirname.test
===================================================================
RCS file: tests/dirname.test
diff -N tests/dirname.test
--- tests/dirname.test  21 Mar 2002 11:27:17 -0000      1.7
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,38 +0,0 @@
-#! /bin/sh
-
-# Test the operation of the _AM_DIRNAME macro from m4/header.m4
-
-. $srcdir/defs || exit 1
-
-cat > configure.in << 'END'
-AC_INIT
-echo "1 /a/path/to/a/file      = _AM_DIRNAME([/a/path/to/a/file])"
-echo "2 another/path/to/a/file = _AM_DIRNAME([another/path/to/a/file])"
-echo "3 file                   = _AM_DIRNAME([file])"
-echo "4 //                     = _AM_DIRNAME([//])"
-echo "5 //file                 = _AM_DIRNAME([//file])"
-echo "6 /                      = _AM_DIRNAME([/])"
-echo "7 /file                  = _AM_DIRNAME([/file])"
-END
-
-$ACLOCAL || exit 1
-# fail gracefully if autoconf didn't support support our regexps anyhow
-$AUTOCONF || exit 77
-
-# Use --quiet otherwise unwelcome messages like "loading site script"
-# would cause a failure.
-./configure --quiet >got || exit 1
-
-cat >wanted <<EOF
-1 /a/path/to/a/file      = /a/path/to/a
-2 another/path/to/a/file = another/path/to/a
-3 file                   = .
-4 //                     = //
-5 //file                 = //
-6 /                      = /
-7 /file                  = /
-EOF
-
-diff wanted got || exit 1
-
-exit 0

-- 
Alexandre Duret-Lutz




reply via email to

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