summaryrefslogtreecommitdiff
path: root/tests/setup-stress-dependencies.sh
diff options
context:
space:
mode:
authorSergey Andreenko <seandree@microsoft.com>2019-03-27 00:25:06 -0700
committerGitHub <noreply@github.com>2019-03-27 00:25:06 -0700
commit808e048c8535f9fd704acb75f1fa4aecdf36b72e (patch)
tree6893fbba56c6fd18e92741773b175bf17cf36c65 /tests/setup-stress-dependencies.sh
parentbae057b3c1018cd519989517c4c11adad732bb06 (diff)
downloadcoreclr-808e048c8535f9fd704acb75f1fa4aecdf36b72e.tar.gz
coreclr-808e048c8535f9fd704acb75f1fa4aecdf36b72e.tar.bz2
coreclr-808e048c8535f9fd704acb75f1fa4aecdf36b72e.zip
Add call to setup-stress-dependencies.sh to build-test.sh. (#23435)
Diffstat (limited to 'tests/setup-stress-dependencies.sh')
-rwxr-xr-xtests/setup-stress-dependencies.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/setup-stress-dependencies.sh b/tests/setup-stress-dependencies.sh
index 8c695b379f..56c37b20f8 100755
--- a/tests/setup-stress-dependencies.sh
+++ b/tests/setup-stress-dependencies.sh
@@ -147,7 +147,7 @@ initDistroRidGlobal ${__BuildOS} x64 ${isPortable}
# The CoreDisTools package is currently manually packaged and we only have
# 14.04 and 16.04 packages. Use the oldest package which will work on newer
# platforms.
-if [[ ${__DistroRid} == "ubuntu"* ]]; then
+if [[ ${__BuildOS} == "Linux" ]]; then
__DistroRid=ubuntu.14.04
fi
@@ -170,6 +170,8 @@ fi
# Get library path
libPath=`find $packageDir | grep $rid | grep -m 1 libcoredistools`
+echo "libPath to be used: ${libPath}"
+
if [ ! -e $libPath ] || [ -z "$libPath" ]; then
exit_with_error 1 'Failed to locate the downloaded library'
fi