If Check is built out of tree, then the test_output_strings
file was expected to be in the build tree, which is not
where it is; it is in the source tree.
Now find the file in the same directory that the script is in.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1087
64e312b2-a51f-0410-8e61-
82d0ca0eb02a
OUTPUT_FILE=test.log
. ./test_vars
-. ./test_output_strings
+. $(dirname $0)/test_output_strings
test_log_output ( ) {
rm -f ${OUTPUT_FILE}
#!/bin/sh
. ./test_vars
-. ./test_output_strings
+. $(dirname $0)/test_output_strings
# When the ex_output program is run with the STDOUT_DUMP mode, it will
# run with the normal output mode, then dump each output mode using
OUTPUT_FILE=test.tap
. ./test_vars
-. ./test_output_strings
+. $(dirname $0)/test_output_strings
test_tap_output ( ) {
rm -f ${OUTPUT_FILE}
CK_DEFAULT_TIMEOUT=4
. ./test_vars
-. ./test_output_strings
+. $(dirname $0)/test_output_strings
rm -f ${OUTPUT_FILE}
export CK_DEFAULT_TIMEOUT