From 6ecda6a45e4a51da6ec9dd44376fc689a200dc55 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 5 Mar 2001 22:11:04 +0000 Subject: [PATCH] * noinstdir.test: New test. * tests/Makefile.am (TESTS): Add noinstdir.test. (XFAIL_TESTS): Likewise. --- ChangeLog | 6 ++++++ tests/Makefile.am | 3 ++- tests/noinstdir.test | 30 ++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100755 tests/noinstdir.test diff --git a/ChangeLog b/ChangeLog index 425648c1..46cb2a23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-03-05 Pavel Roskin + + * noinstdir.test: New test. + * tests/Makefile.am (TESTS): Add noinstdir.test. + (XFAIL_TESTS): Likewise. + 2001-03-05 Akim Demaille * automake.in (&handle_options): Change the RE so that the third diff --git a/tests/Makefile.am b/tests/Makefile.am index 59954ec8..5a820cf2 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = gnits -XFAIL_TESTS = yaccvpath.test +XFAIL_TESTS = noinstdir.test yaccvpath.test TESTS = \ acinclude.test \ aclocal.test \ @@ -176,6 +176,7 @@ nodep.test \ nodepcomp.test \ nodist.test \ noinst.test \ +noinstdir.test \ nostdinc.test \ number.test \ objc.test \ diff --git a/tests/noinstdir.test b/tests/noinstdir.test new file mode 100755 index 00000000..48770471 --- /dev/null +++ b/tests/noinstdir.test @@ -0,0 +1,30 @@ +#! /bin/sh + +# Test to make sure that noinst_* and check_* are not installed. +# From Pavel Roskin. + +. $srcdir/defs || exit 1 + +cat > Makefile.am << 'END' +noinst_SCRIPTS = foo.sh +noinst_DATA = foo.xpm +noinst_LIBRARIES = libfoo.a +noinst_PROGRAMS = foo +noinst_HEADERS = foo.h +check_SCRIPTS = bar.sh +check_DATA = bar.xpm +check_LIBRARIES = libbar.a +check_PROGRAMS = bar +check_HEADERS = bar.h +END + +cat >> configure.in << 'END' +AC_PROG_CC +AC_PROG_RANLIB +END + +$AUTOMAKE || exit 1 + +grep 'noinstdir' Makefile.in && exit 1 +grep 'checkdir' Makefile.in && exit 1 +exit 0 -- 2.43.5