Skip to content

Commit b04704e

Browse files
committed
remove comment
1 parent ee36009 commit b04704e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/workflow/generate_results.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
#!/bin/bash
22

3-
# TODO: `start_time` and `end_time`, separate test name from `$line`
4-
53
JOB_RESULT="$1"
64
START_TIME="$2"
75
TEST_TYPE="$3"
86

97
INPUT_FILE="./test/dashboard/logs/$TEST_TYPE/raw_logs.log"
10-
JOB_OUTPUT_FILE="./test/dashboard/logs/$TEST_TYPE/result.json"
8+
RESULT_OUTPUT_FILE="./test/dashboard/logs/$TEST_TYPE/result.json"
119
LOG_OUTPUT_FILE="./test/dashboard/logs/$TEST_TYPE/test.log"
1210
OUTPUT_PATH="./test/dashboard/logs/$TEST_TYPE/"
1311

@@ -90,7 +88,7 @@ format_results(){
9088
done < "$INPUT_FILE"
9189

9290
# Store the result of the whole job
93-
echo "{\"start_at\": \"$START_TIME\", \"end_at\": \"$END_TIME\", \"duration_seconds\": \"$DURATION\", \"result\": \"$RESULT\", \"msg\": \"$FAIL_MSG\"}" > $JOB_OUTPUT_FILE
91+
echo "{\"start_at\": \"$START_TIME\", \"end_at\": \"$END_TIME\", \"duration_seconds\": \"$DURATION\", \"result\": \"$RESULT\", \"msg\": \"$FAIL_MSG\"}" > $RESULT_OUTPUT_FILE
9492
}
9593

9694
# Main body of the script

0 commit comments

Comments
 (0)