aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorBernard Ogden <bernie.ogden@linaro.org>2015-04-28 15:10:39 +0100
committerBernard Ogden <bernie.ogden@linaro.org>2015-04-29 16:08:39 +0100
commit92750de55dd53b3d1934fbd93ac113fe0c9a2a6c (patch)
tree9a036b93b42e1b1d8710e4be0e1d5aa329bd1b03 /testsuite
parentf7c61302c2fd2691e5c2f6db171985943ea7826c (diff)
Make test run without checking for srcdir
srcdir cannot be set in this context - the check was always passing and the test was always running. Change-Id: Ib48f290af2a48b0e08d296ffb27f4e08ec509650
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/test.sh16
1 files changed, 6 insertions, 10 deletions
diff --git a/testsuite/test.sh b/testsuite/test.sh
index 5d6d2d33..d4666d4d 100755
--- a/testsuite/test.sh
+++ b/testsuite/test.sh
@@ -1317,17 +1317,13 @@ fi
branch=
revision=
testing="create_release_tag: repository branch empty"
-if test -d ${srcdir}; then
- in="gcc.git"
- out="`create_release_tag ${in} | grep -v TRACE`"
- if test "`echo ${out} | grep -c "gcc.git-${date}"`" -gt 0; then
- pass "${testing}"
- else
- fail "${testing}"
- fixme "create_release_tag returned ${out}"
- fi
+in="gcc.git"
+out="`create_release_tag ${in} | grep -v TRACE`"
+if test "`echo ${out} | grep -c "gcc.git-${date}"`" -gt 0; then
+ pass "${testing}"
else
- untested "${testing}"
+ fail "${testing}"
+ fixme "create_release_tag returned ${out}"
fi
testing="create_release_tag: tarball"