Rombobjörn

summaryrefslogtreecommitdiff
path: root/testsuite/library
diff options
context:
space:
mode:
authorBjörn Persson <Bjorn@Rombobjörn.se>2013-12-19 01:02:34 +0100
committerBjörn Persson <Bjorn@Rombobjörn.se>2013-12-19 01:02:34 +0100
commit501f9888bff97d68adff2bfde0da7869c04d7e79 (patch)
tree77640a583723e4607935c9a58d5d819df4573344 /testsuite/library
parent098259b44d7895e3bb9537edbbd633fd3e0205d5 (diff)
some code to check files after tests
Diffstat (limited to 'testsuite/library')
-rw-r--r--testsuite/library9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/library b/testsuite/library
index 1302625..2d16973 100644
--- a/testsuite/library
+++ b/testsuite/library
@@ -17,9 +17,18 @@ common_setup () {
# build directory, just go to that directory.
cd "${srcdir}"
if [ "${relative_builddir}" != . ] ; then
+ echo "${builddir}"/Makefile >>"${file_list}"
make configure builddir="${relative_builddir}"
cd "${relative_builddir}"
fi
}
+expect_configuration () {
+ # If "always" is passed, the testcase is always expected to leave a
+ # configuration file. If this is called without "always", a configuration
+ # file is expected only in a separate build directory.
+ if [ "$1" = always -o "${relative_builddir}" != . ] ; then
+ echo "${builddir}"/comfignat_configuration.mk >>"${file_list}"
+ fi
+}