diff options
author | Björn Persson <Bjorn@Rombobjörn.se> | 2013-12-17 14:29:11 +0100 |
---|---|---|
committer | Björn Persson <Bjorn@Rombobjörn.se> | 2013-12-17 14:29:11 +0100 |
commit | 098259b44d7895e3bb9537edbbd633fd3e0205d5 (patch) | |
tree | f835b9cef7b4c4cc83a177855a1622b74d9821b4 /testsuite/inputs | |
parent | 940fef353e6551f721651db79cb135219191ad9e (diff) |
function library for the testcases
Diffstat (limited to 'testsuite/inputs')
-rw-r--r-- | testsuite/inputs/clean | 7 | ||||
-rw-r--r-- | testsuite/inputs/default_build | 7 | ||||
-rw-r--r-- | testsuite/inputs/distclean | 7 |
3 files changed, 6 insertions, 15 deletions
diff --git a/testsuite/inputs/clean b/testsuite/inputs/clean index ab322cc..6defe0e 100644 --- a/testsuite/inputs/clean +++ b/testsuite/inputs/clean @@ -1,7 +1,4 @@ -cd "${srcdir}" -if [ "${relative_builddir}" != . ] ; then - make configure builddir="${relative_builddir}" - cd "${relative_builddir}" -fi +. "${library}" +common_setup make make clean diff --git a/testsuite/inputs/default_build b/testsuite/inputs/default_build index 7ff31f7..1706516 100644 --- a/testsuite/inputs/default_build +++ b/testsuite/inputs/default_build @@ -1,6 +1,3 @@ -cd "${srcdir}" -if [ "${relative_builddir}" != . ] ; then - make configure builddir="${relative_builddir}" - cd "${relative_builddir}" -fi +. "${library}" +common_setup make diff --git a/testsuite/inputs/distclean b/testsuite/inputs/distclean index 6e1119b..76524c3 100644 --- a/testsuite/inputs/distclean +++ b/testsuite/inputs/distclean @@ -1,7 +1,4 @@ -cd "${srcdir}" -if [ "${relative_builddir}" != . ] ; then - make configure builddir="${relative_builddir}" - cd "${relative_builddir}" -fi +. "${library}" +common_setup make make distclean |