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 3
3
4
4
readonly SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd)
5
5
export TRACER_DIR=" ${SCRIPT_DIR} /.."
6
- export REPORTS_DIR=" ${ARTIFACTS_DIR} "
7
6
export UTILS_DIR=" ${SCRIPT_DIR} /utils"
8
7
export SHELL_UTILS_DIR=" ${UTILS_DIR} /shell"
9
8
export K6_UTILS_DIR=" ${UTILS_DIR} /k6"
@@ -33,9 +32,9 @@ if [[ ! -f "${TRACER}" ]]; then
33
32
cd " ${SCRIPT_DIR} "
34
33
fi
35
34
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 } "
39
38
40
39
if [[ " $# " == ' 0' ]]; then
41
40
for type in ' startup' ' load' ' dacapo' ; do
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ run_benchmark() {
16
16
export BENCHMARK=" ${type} "
17
17
18
18
# create output folder for the test
19
- export OUTPUT_DIR=" ${REPORTS_DIR } /dacapo/${type} "
19
+ export OUTPUT_DIR=" ${ARTIFACTS_DIR } /dacapo/${type} "
20
20
mkdir -p " ${OUTPUT_DIR} "
21
21
22
22
# 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
24
24
25
25
message " ${type} benchmark: ${app} started"
26
26
27
- export OUTPUT_DIR=" ${REPORTS_DIR } /${type} /${app} "
27
+ export OUTPUT_DIR=" ${ARTIFACTS_DIR } /${type} /${app} "
28
28
mkdir -p ${OUTPUT_DIR}
29
29
30
30
if [ " ${app} " == " petclinic" ]; then
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ run_benchmark() {
14
14
cd " ${app} "
15
15
16
16
# create output folder for the test
17
- export OUTPUT_DIR=" ${REPORTS_DIR } /${type} /${app} "
17
+ export OUTPUT_DIR=" ${ARTIFACTS_DIR } /${type} /${app} "
18
18
mkdir -p " ${OUTPUT_DIR} "
19
19
20
20
# substitute environment variables in the json file
You can’t perform that action at this time.
0 commit comments