From 501f9888bff97d68adff2bfde0da7869c04d7e79 Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Thu, 19 Dec 2013 01:02:34 +0100 Subject: some code to check files after tests --- testsuite/library | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'testsuite/library') 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 +} -- cgit v1.2.3