summaryrefslogtreecommitdiff
path: root/tests/gtests
diff options
context:
space:
mode:
authorMartin Thomson <mt@lowentropy.net>2019-03-21 11:28:31 +1100
committerMartin Thomson <mt@lowentropy.net>2019-03-21 11:28:31 +1100
commit5dee8aba72f669519ce5e8f1e246ffe9d5640c82 (patch)
tree310bc0c5e8fbc5b1d017e91c348ae2687d73bfcd /tests/gtests
parent255dde6d38934d8bf639600d7e5e71375f42d8eb (diff)
downloadnss-hg-5dee8aba72f669519ce5e8f1e246ffe9d5640c82.tar.gz
Bug 1531236 - Fixup gtests.sh paths properly, a=bustage
Diffstat (limited to 'tests/gtests')
-rwxr-xr-xtests/gtests/gtests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gtests/gtests.sh b/tests/gtests/gtests.sh
index e96070a1f..2b45e1ccd 100755
--- a/tests/gtests/gtests.sh
+++ b/tests/gtests/gtests.sh
@@ -61,7 +61,7 @@ gtest_start()
PROFILEDIR="$DIR" make_cert dummy p256 sign
fi
- cd "$DIR"
+ pushd "$DIR"
GTESTREPORT="$DIR/report.xml"
PARSED_REPORT="$DIR/report.parsed"
echo "executing $i"
@@ -82,6 +82,7 @@ gtest_start()
html_failed_ignore_core "$name"
fi
done
+ popd
done
}