From 92750de55dd53b3d1934fbd93ac113fe0c9a2a6c Mon Sep 17 00:00:00 2001 From: Bernard Ogden Date: Tue, 28 Apr 2015 15:10:39 +0100 Subject: 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 --- testsuite/test.sh | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'testsuite') 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" -- cgit v1.2.3