Rombobjörn

summaryrefslogtreecommitdiff
path: root/testsuite/inputs
diff options
context:
space:
mode:
authorBjörn Persson <Bjorn@Rombobjörn.se>2014-02-01 09:58:52 +0100
committerBjörn Persson <Bjorn@Rombobjörn.se>2014-02-01 09:58:52 +0100
commitaedfc53e9a783b8cc1091f5a6d6bb15317616646 (patch)
treec7e37479f82b909e38b5c5b45db6e8a54033a4d9 /testsuite/inputs
parent5d900ea8ccb660d4d3bb9aaa08464fb9aae081f9 (diff)
more testcases
Diffstat (limited to 'testsuite/inputs')
-rw-r--r--testsuite/inputs/build_with_Gnatmake4
-rw-r--r--testsuite/inputs/configure_and_build8
-rw-r--r--testsuite/inputs/configure_and_clean13
-rw-r--r--testsuite/inputs/directories_project5
-rw-r--r--testsuite/inputs/relocatable4
5 files changed, 34 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/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/directories_project b/testsuite/inputs/directories_project
new file mode 100644
index 0000000..128e893
--- /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}"
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