From bd7e00096e4ae941164026cb571c70939e13ced2 Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Sun, 23 Feb 2014 16:16:12 +0100 Subject: Test installation and phoniness. --- testsuite/inputs/configure-build-install | 24 ++++++++++++++++++++++++ testsuite/inputs/configure_and_build | 21 --------------------- testsuite/inputs/default_install | 21 +++++++++++++++++++++ 3 files changed, 45 insertions(+), 21 deletions(-) create mode 100644 testsuite/inputs/configure-build-install delete mode 100644 testsuite/inputs/configure_and_build create mode 100644 testsuite/inputs/default_install (limited to 'testsuite/inputs') diff --git a/testsuite/inputs/configure-build-install b/testsuite/inputs/configure-build-install new file mode 100644 index 0000000..33bcbe0 --- /dev/null +++ b/testsuite/inputs/configure-build-install @@ -0,0 +1,24 @@ +# 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. + + +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/configure_and_build b/testsuite/inputs/configure_and_build deleted file mode 100644 index 1a96953..0000000 --- a/testsuite/inputs/configure_and_build +++ /dev/null @@ -1,21 +0,0 @@ -# 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. - - -prefix=/usr -libdir=/usr/lib64 -frobnicate=true -expect_configuration always -expect_generated_files -common_setup -make configure prefix="${prefix}" libdir="${libdir}" frobnicate=true -make 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 -- cgit v1.2.3