Rombobjörn

summaryrefslogtreecommitdiff
path: root/testsuite/inputs
diff options
context:
space:
mode:
authorBjörn Persson <Bjorn@Rombobjörn.se>2014-02-02 23:42:09 +0100
committerBjörn Persson <Bjorn@Rombobjörn.se>2014-02-02 23:42:09 +0100
commit17adf2f999c06f1f7d207cb9ce5e2518b7e89ca6 (patch)
treedd698a099ec0e7ea75233565c7e8c09378ff89c1 /testsuite/inputs
parent00f4b3a5e2ac1bbf44b127858adf5284eabd94e4 (diff)
parent16639abaf4bc45b92d6ac70e25d457412c1a11bb (diff)
Merged the branch "testsuite".
Diffstat (limited to 'testsuite/inputs')
-rw-r--r--testsuite/inputs/build_with_Gnatmake4
-rw-r--r--testsuite/inputs/clean4
-rw-r--r--testsuite/inputs/configure_and_build8
-rw-r--r--testsuite/inputs/configure_and_clean13
-rw-r--r--testsuite/inputs/default_build4
-rw-r--r--testsuite/inputs/directories_project5
-rw-r--r--testsuite/inputs/distclean3
-rw-r--r--testsuite/inputs/relocatable4
8 files changed, 45 insertions, 0 deletions
diff --git a/testsuite/inputs/build_with_Gnatmake b/testsuite/inputs/build_with_Gnatmake
new file mode 100644
index 0000000..124f632
--- /dev/null
+++ b/testsuite/inputs/build_with_Gnatmake
@@ -0,0 +1,4 @@
+expect_configuration
+expect_generated_files
+common_setup
+GNAT_BUILDER=gnatmake make
diff --git a/testsuite/inputs/clean b/testsuite/inputs/clean
new file mode 100644
index 0000000..2b37fec
--- /dev/null
+++ b/testsuite/inputs/clean
@@ -0,0 +1,4 @@
+expect_configuration
+common_setup
+make
+make clean
diff --git a/testsuite/inputs/configure_and_build b/testsuite/inputs/configure_and_build
new file mode 100644
index 0000000..3b4a060
--- /dev/null
+++ b/testsuite/inputs/configure_and_build
@@ -0,0 +1,8 @@
+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/configure_and_clean b/testsuite/inputs/configure_and_clean
new file mode 100644
index 0000000..ba9b640
--- /dev/null
+++ b/testsuite/inputs/configure_and_clean
@@ -0,0 +1,13 @@
+expect_configuration always
+common_setup
+make configure bindir='${prefix}/special'
+make clean
+expected='bindir = ${prefix}/special'
+conf=$(make show_configuration --no-print-directory)
+if [ "${conf}" != "${expected}" ] ; then
+ echo "Expected configuration:" >&2
+ echo "${expected}" >&2
+ echo "Configuration found:" >&2
+ echo "${conf}" >&2
+ exit 1
+fi
diff --git a/testsuite/inputs/default_build b/testsuite/inputs/default_build
new file mode 100644
index 0000000..635b842
--- /dev/null
+++ b/testsuite/inputs/default_build
@@ -0,0 +1,4 @@
+expect_configuration
+expect_generated_files
+common_setup
+make
diff --git a/testsuite/inputs/directories_project b/testsuite/inputs/directories_project
new file mode 100644
index 0000000..e477a8d
--- /dev/null
+++ b/testsuite/inputs/directories_project
@@ -0,0 +1,5 @@
+prefix=/opt/comfignat_test
+expect_configuration
+expect_generated_files
+common_setup
+make dirgpr="${dirgpr}" gprdir="${gprdir}" libexecdir="${libexecdir}"
diff --git a/testsuite/inputs/distclean b/testsuite/inputs/distclean
new file mode 100644
index 0000000..6e5e472
--- /dev/null
+++ b/testsuite/inputs/distclean
@@ -0,0 +1,3 @@
+common_setup
+make
+make distclean
diff --git a/testsuite/inputs/relocatable b/testsuite/inputs/relocatable
new file mode 100644
index 0000000..a060390
--- /dev/null
+++ b/testsuite/inputs/relocatable
@@ -0,0 +1,4 @@
+expect_configuration
+expect_generated_files
+common_setup
+make relocatable_package=true