]> granicus.if.org Git - check/commitdiff
test_vars: deterine final value for SRCDIR in test_vars
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 6 Jan 2014 04:41:36 +0000 (04:41 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 6 Jan 2014 04:41:36 +0000 (04:41 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1036 64e312b2-a51f-0410-8e61-82d0ca0eb02a

tests/test_log_output.sh
tests/test_output.sh
tests/test_tap_output.sh

index 8c890b53fa44e6cee8bb6d3a9b0467f8f2fdfca8..3b4bc3e3550424044871c4b61f1d2957f8ca1fce 100755 (executable)
@@ -4,12 +4,6 @@ OUTPUT_FILE=test.log
 
 . ./test_vars
 
-if [ x"${SRCDIR}" != x"." ]; then
-    SRCDIR="${SRCDIR}/"
-else
-    SRCDIR=""
-fi
-
 if [ $HAVE_FORK -eq 1 ]; then
 expected="Running suite S1
 ${SRCDIR}ex_output.c:11:P:Core:test_pass:0: Passed
index 183176591203817cf35358352e52b4a330521a2e..75c205ef9d251b4067caa46793f4fe88209fbb15 100755 (executable)
@@ -2,12 +2,6 @@
 
 . ./test_vars
 
-if [ x"${SRCDIR}" != x"." ]; then
-    SRCDIR="${SRCDIR}/"
-else
-    SRCDIR=""
-fi
-
 suite_output="Running suite(s): S1
  S2
  XML escape \" ' < > & tests"
index c7071e36fc2710259ab5929c2ea55e7907e2752d..a671022179cc11542e0750bfc2584ad1f665fdf5 100755 (executable)
@@ -4,12 +4,6 @@ OUTPUT_FILE=test.tap
 
 . ./test_vars
 
-if [ x"${SRCDIR}" != x"." ]; then
-    SRCDIR="${SRCDIR}/"
-else
-    SRCDIR=""
-fi
-
 if [ $HAVE_FORK -eq 1 ]; then
 expected_normal_tap="ok 1 - ${SRCDIR}ex_output.c:Core:test_pass: Passed
 not ok 2 - ${SRCDIR}ex_output.c:Core:test_fail: Failure