Skip to content

Commit

Permalink
Fixed benchmark-all script for Mac OS X.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Jul 24, 2017
1 parent 9f80f7a commit 490ae82
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/benchmark-all
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash

benchmark_folder=`realpath "$(dirname $0)/../benchmarks"`
find $benchmark_folder/* | xargs -i sh "$(dirname $0)/benchmark" {}
set -e

MYDIR=`dirname $0`
benchmark_folder=$MYDIR/../benchmarks
find $benchmark_folder/* | (while read SERVER; do set -e; $MYDIR/benchmark $SERVER; done)

0 comments on commit 490ae82

Please sign in to comment.