summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDrew Scoggins <anscoggi@microsoft.com>2017-01-18 10:53:16 -0800
committerDrew Scoggins <anscoggi@microsoft.com>2017-01-18 10:53:16 -0800
commit46cede629db5e914bea42e1ebc01a5231b528942 (patch)
tree76b88aed6eb7e30f534e1fd3e6f62466cca060ef /tests
parent5b84229d8e244556df5d736227f3d259738713fc (diff)
downloadcoreclr-46cede629db5e914bea42e1ebc01a5231b528942.tar.gz
coreclr-46cede629db5e914bea42e1ebc01a5231b528942.tar.bz2
coreclr-46cede629db5e914bea42e1ebc01a5231b528942.zip
Fix Linux perf run script
We rely on the build of CoreFX that we grab from the Corefx runs on the main Jenkins instance. With the recent changes the name of one of the folders as been changed from "Native" to "native". The checking that we were doing was not case insensitive and as a result we started failing. I have made that check now look for both the upper case and lower case version of the word.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/scripts/run-xunit-perf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scripts/run-xunit-perf.sh b/tests/scripts/run-xunit-perf.sh
index 85ac43321b..b6f4ac133d 100755
--- a/tests/scripts/run-xunit-perf.sh
+++ b/tests/scripts/run-xunit-perf.sh
@@ -213,7 +213,7 @@ function create_core_overlay {
if [ -z "$coreFxNativeBinDir" ]; then
exit_with_error "$errorSource" "One of --coreOverlayDir or --coreFxBinDir must be specified." "$printUsage"
fi
- if [ ! -d "$coreFxNativeBinDir/Native" ]; then
+ if [ ! -d "$coreFxNativeBinDir/Native" -a ! -d "$coreFxNativeBinDir/native" ]; then
exit_with_error "$errorSource" "Directory specified by --coreNativeFxBinDir does not exist: $coreFxNativeBinDir/Native"
fi