Rombobjörn

summaryrefslogtreecommitdiff
path: root/testsuite/inputs
diff options
context:
space:
mode:
authorBjörn Persson <Bjorn@Rombobjörn.se>2014-02-23 16:16:12 +0100
committerBjörn Persson <Bjorn@Rombobjörn.se>2014-02-23 16:16:12 +0100
commitbd7e00096e4ae941164026cb571c70939e13ced2 (patch)
treec7d7fb17c087fe241ad2097aaaf083c4e7f5c0f9 /testsuite/inputs
parent553cfcce4259cb2a0d622110ad52811d9ab357b6 (diff)
Test installation and phoniness.
Diffstat (limited to 'testsuite/inputs')
-rw-r--r--testsuite/inputs/configure-build-install (renamed from testsuite/inputs/configure_and_build)3
-rw-r--r--testsuite/inputs/default_install21
2 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/inputs/configure_and_build b/testsuite/inputs/configure-build-install
index 1a96953..33bcbe0 100644
--- a/testsuite/inputs/configure_and_build
+++ b/testsuite/inputs/configure-build-install
@@ -14,8 +14,11 @@
prefix=/usr
libdir=/usr/lib64
frobnicate=true
+installation=files
expect_configuration always
expect_generated_files
+expect_generated_files destdir
common_setup
make configure prefix="${prefix}" libdir="${libdir}" frobnicate=true
make
+DESTDIR=destdir make install
diff --git a/testsuite/inputs/default_install b/testsuite/inputs/default_install
new file mode 100644
index 0000000..457a577
--- /dev/null
+++ b/testsuite/inputs/default_install
@@ -0,0 +1,21 @@
+# part of Comfignat's testsuite
+# Copyright 2014 B. Persson, Bjorn@Rombobeorn.se
+#
+# This material is provided as is, with absolutely no warranty expressed
+# or implied. Any use is at your own risk.
+#
+# Permission is hereby granted to use or copy this testsuite
+# for any purpose, provided the above notices are retained on all copies.
+# Permission to modify the code and to distribute modified code is granted,
+# provided the above notices are retained, and a notice that the code was
+# modified is included with the above copyright notice.
+
+
+installation=full
+expect_configuration
+expect_generated_files
+expect_generated_files destdir
+common_setup
+# Use DESTDIR to keep the testcase contained, but override do_preinstall and
+# do_postinstall to simulate installation to the filesystem root.
+make install DESTDIR=destdir do_preinstall=true do_postinstall=true