Fix perf-prep for throughput (#14845)
authorMichelle McDaniel <adiaaida@gmail.com>
Sat, 4 Nov 2017 00:39:38 +0000 (17:39 -0700)
committerGitHub <noreply@github.com>
Sat, 4 Nov 2017 00:39:38 +0000 (17:39 -0700)
There is a missing ! before checking to see if the throughput benchmarks
have already been downloaded. Currently, we download them if they
already exist, where we want to download them if they don't already
exist. This change fixes that.

tests/scripts/perf-prep.sh

index 25bfbe7..23b095e 100755 (executable)
@@ -68,7 +68,7 @@ python3.5 ./tests/scripts/Microsoft.BenchView.JSONFormat/tools/machinedata.py
 
 if [ $throughput -eq 1 ]; then
     # Download throughput benchmarks
-    if [ -d "Microsoft.Benchview.ThroughputBenchmarks.x64.Windows_NT" ]; then
+    if [ -d "Microsoft.Benchview.ThroughputBenchmarks.x64.Windows_NT" ]; then
         mkdir Microsoft.Benchview.ThroughputBenchmarks.x64.Windows_NT
         cd Microsoft.Benchview.ThroughputBenchmarks.x64.Windows_NT