automake-patches
[Top][All Lists]
Advanced

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

test for nobase_*_HEADERS


From: Alexandre Duret-Lutz
Subject: test for nobase_*_HEADERS
Date: 16 Oct 2001 20:14:57 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

2001-10-16  Alexandre Duret-Lutz  <address@hidden>

        * tests/Makefile.am (XFAIL_TESTS): Add nobase.test.
        * tests/nobase.test: New file.  Based on a bug report
        from Martin Frydl <address@hidden>.

Index: THANKS
===================================================================
RCS file: /cvs/automake/automake/THANKS,v
retrieving revision 1.149
diff -u -r1.149 THANKS
--- THANKS 2001/08/28 04:50:14 1.149
+++ THANKS 2001/10/16 18:11:35
@@ -96,6 +96,7 @@
 Mark Galassi           address@hidden
 Markku Rossi           address@hidden
 Markus F.X.J. Oberhumer        address@hidden
+Martin Frydl           address@hidden
 Matt Leach             address@hidden
 Matthew D. Langston    address@hidden
 Matthias Clasen                address@hidden
Index: tests/Makefile.am
===================================================================
RCS file: /cvs/automake/automake/tests/Makefile.am,v
retrieving revision 1.345
diff -u -r1.345 Makefile.am
--- tests/Makefile.am 2001/08/23 05:00:34 1.345
+++ tests/Makefile.am 2001/10/16 18:11:57
@@ -1,6 +1,6 @@
 ## Process this file with automake to create Makefile.in
 
-XFAIL_TESTS = subdir5.test auxdir2.test cond17.test
+XFAIL_TESTS = subdir5.test auxdir2.test cond17.test nobase.test
 
 TESTS =        \
 acinclude.test \
Index: tests/nobase.test
===================================================================
RCS file: nobase.test
diff -N nobase.test
--- /dev/null   Tue May  5 13:32:27 1998
+++ tests/nobase.test Tue Oct 16 11:11:58 2001
@@ -0,0 +1,21 @@
+#! /bin/sh
+# Test to make sure nobase_*_HEADERS work.
+
+. $srcdir/defs || exit 1
+
+cat > Makefile.am << 'EOF'
+foodir = $(prefix)/foo
+nobase_foo_HEADERS = bar/baz.h
+EOF
+
+mkdir bar
+: > bar/baz.h
+
+set -e
+
+$ACLOCAL
+$AUTOCONF
+$AUTOMAKE -a
+./configure --prefix `pwd`/install
+make install-data
+test -f install/foo/bar/baz.h

-- 
Alexandre Duret-Lutz



reply via email to

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