File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 33
44readonly SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd)
55export TRACER_DIR=" ${SCRIPT_DIR} /.."
6- export REPORTS_DIR=" ${ARTIFACTS_DIR} "
76export UTILS_DIR=" ${SCRIPT_DIR} /utils"
87export SHELL_UTILS_DIR=" ${UTILS_DIR} /shell"
98export K6_UTILS_DIR=" ${UTILS_DIR} /k6"
@@ -33,9 +32,9 @@ if [[ ! -f "${TRACER}" ]]; then
3332 cd " ${SCRIPT_DIR} "
3433fi
3534
36- # Cleanup previous reports
37- rm -rf " ${REPORTS_DIR } "
38- mkdir -p " ${REPORTS_DIR } "
35+ # Cleanup previous artifacts
36+ rm -rf " ${ARTIFACTS_DIR } "
37+ mkdir -p " ${ARTIFACTS_DIR } "
3938
4039if [[ " $# " == ' 0' ]]; then
4140 for type in ' startup' ' load' ' dacapo' ; do
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ run_benchmark() {
1616 export BENCHMARK=" ${type} "
1717
1818 # create output folder for the test
19- export OUTPUT_DIR=" ${REPORTS_DIR } /dacapo/${type} "
19+ export OUTPUT_DIR=" ${ARTIFACTS_DIR } /dacapo/${type} "
2020 mkdir -p " ${OUTPUT_DIR} "
2121
2222 # substitute environment variables in the json file
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ for app in *; do
2424
2525 message " ${type} benchmark: ${app} started"
2626
27- export OUTPUT_DIR=" ${REPORTS_DIR } /${type} /${app} "
27+ export OUTPUT_DIR=" ${ARTIFACTS_DIR } /${type} /${app} "
2828 mkdir -p ${OUTPUT_DIR}
2929
3030 if [ " ${app} " == " petclinic" ]; then
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ run_benchmark() {
1414 cd " ${app} "
1515
1616 # create output folder for the test
17- export OUTPUT_DIR=" ${REPORTS_DIR } /${type} /${app} "
17+ export OUTPUT_DIR=" ${ARTIFACTS_DIR } /${type} /${app} "
1818 mkdir -p " ${OUTPUT_DIR} "
1919
2020 # substitute environment variables in the json file
You can’t perform that action at this time.
0 commit comments