Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit e73c8a8

Browse files
author
Sergey Andreenko
committed
Add call to setup-stress-dependencies.sh to build-test.sh.
1 parent 6100a9f commit e73c8a8

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

build-test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,12 @@ generate_layout()
154154

155155
# Make sure to copy over the pulled down packages
156156
cp -r $__BinDir/* $CORE_ROOT/ > /dev/null
157+
158+
if [ "$__BuildOS" != "OSX" ]; then
159+
nextCommand="\"$__TestDir/setup-stress-dependencies.sh\" --outputDir=$CORE_ROOT"
160+
echo "Resolve runtime dependences via $nextCommand"
161+
eval $nextCommandelse
162+
fi
157163
}
158164

159165
generate_testhost()

init-distro-rid.sh

100644100755
File mode changed.

tests/setup-stress-dependencies.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ initDistroRidGlobal ${__BuildOS} x64 ${isPortable}
147147
# The CoreDisTools package is currently manually packaged and we only have
148148
# 14.04 and 16.04 packages. Use the oldest package which will work on newer
149149
# platforms.
150-
if [[ ${__DistroRid} == "ubuntu"* ]]; then
150+
if [[ ${__BuildOS} == "Linux" ]]; then
151151
__DistroRid=ubuntu.14.04
152152
fi
153153

@@ -170,6 +170,8 @@ fi
170170

171171
# Get library path
172172
libPath=`find $packageDir | grep $rid | grep -m 1 libcoredistools`
173+
echo "libPath to be used: ${libPath}"
174+
173175
if [ ! -e $libPath ] || [ -z "$libPath" ]; then
174176
exit_with_error 1 'Failed to locate the downloaded library'
175177
fi

0 commit comments

Comments
 (0)