diff options
author | Björn Persson <Bjorn@Rombobjörn.se> | 2014-02-01 09:58:52 +0100 |
---|---|---|
committer | Björn Persson <Bjorn@Rombobjörn.se> | 2014-02-01 09:58:52 +0100 |
commit | aedfc53e9a783b8cc1091f5a6d6bb15317616646 (patch) | |
tree | c7e37479f82b909e38b5c5b45db6e8a54033a4d9 /testsuite/inputs | |
parent | 5d900ea8ccb660d4d3bb9aaa08464fb9aae081f9 (diff) |
more testcases
Diffstat (limited to 'testsuite/inputs')
-rw-r--r-- | testsuite/inputs/build_with_Gnatmake | 4 | ||||
-rw-r--r-- | testsuite/inputs/configure_and_build | 8 | ||||
-rw-r--r-- | testsuite/inputs/configure_and_clean | 13 | ||||
-rw-r--r-- | testsuite/inputs/directories_project | 5 | ||||
-rw-r--r-- | testsuite/inputs/relocatable | 4 |
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 |