aboutsummaryrefslogtreecommitdiffstats
path: root/testsuites/performance/src/main/resources/testplans/generate_perf.sh
diff options
context:
space:
mode:
authorRossC <ross.carter@est.tech>2020-05-14 10:40:00 +0100
committerRossC <ross.carter@est.tech>2020-05-15 14:20:47 +0100
commit5f3c6aba1ef89f41e82b8d47bef8731b679da971 (patch)
tree4cf3733c91358d96f40f1de074e0f7d4d9b2ba5a /testsuites/performance/src/main/resources/testplans/generate_perf.sh
parent14722adc36a48f4e120b3ad9e6287cc939bfd130 (diff)
Frankfurt Distribution Performance Test
Issue-ID: POLICY-2458 Change-Id: I475ac795256db980ae68993a8cbc509d74278549 Signed-off-by: RossC <ross.carter@est.tech>
Diffstat (limited to 'testsuites/performance/src/main/resources/testplans/generate_perf.sh')
-rwxr-xr-xtestsuites/performance/src/main/resources/testplans/generate_perf.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/testsuites/performance/src/main/resources/testplans/generate_perf.sh b/testsuites/performance/src/main/resources/testplans/generate_perf.sh
deleted file mode 100755
index beabb783..00000000
--- a/testsuites/performance/src/main/resources/testplans/generate_perf.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env bash
-
-function print_usage_and_exit {
- [ -z "$1" ] || echo "Error: $1"
- echo "Usage: $0 <output_dir> <total>"
- echo " - <output_dir>: directory where the generated csar file will be put into"
- echo " - <total>: total number of csar files to be generated"
- exit 1
-}
-
-[ "$#" -ne 2 ] && print_usage_and_exit
-OUTPUT=$1
-TOTAL=$2
-
-[ -d $OUTPUT ] || mkdir -p $OUTPUT
-[ -d $OUTPUT ] || print_usage_and_exit "$OUTPUT is not a valid directory"
-[[ $TOTAL =~ ^[0-9]+$ ]] || print_usage_and_exit "$SEED is not a integer"
-
-
-ROOT_DIR=`dirname $(readlink -f $0)`
-TMP_DIR=$ROOT_DIR/perf_tmp
-
-python $ROOT_DIR/generate_perf.py --dest $TMP_DIR --total $TOTAL --out $ROOT_DIR/perf_data.csv
-
-rm -f $OUTPUT/*.csar
-cp -fr $TMP_DIR/*.csar $OUTPUT/
-
-rm -rf $TMP_DIR