Reorganize benchmark scripts to support running SPECsfs as well
[bluesky.git] / microbench / run-spec.sh
diff --git a/microbench/run-spec.sh b/microbench/run-spec.sh
new file mode 100755 (executable)
index 0000000..074dd9f
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+BASEDIR=$(dirname $(which $0))
+. $BASEDIR/run-common.sh
+
+run_spec() {
+    BLUESKY_RUN_NAME=$(date +%Y%m%d)-$1
+
+    $HOME/bin/s3-cleanup.py mvrable-bluesky
+    $HOME/bin/s3-cleanup.py mvrable-bluesky-west
+    run_cmd $PROXY cleanup-proxy
+    run_cmd $PROXY run-proxy >$BLUESKY_RUN_NAME.proxy 2>&1 &