# Make sure to copy over the pulled down packages
cp -r $__BinDir/* $CORE_ROOT/ > /dev/null
-
- nextCommand="\"$__TestDir/setup-stress-dependencies.sh\" --outputDir=$CORE_ROOT"
- echo "Resolve runtime dependences via $nextCommand"
- eval $nextCommand
}
generate_testhost()
# 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 [[ ${__BuildOS} == "Linux" ]]; then
+if [[ ${__DistroRid} == "ubuntu"* ]]; then
__DistroRid=ubuntu.14.04
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