Skip to content

Commit

Permalink
automated: linux: mmtests: reworked submission to squad
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantin Belov <[email protected]>
  • Loading branch information
Konstantin Belov committed Oct 21, 2023
1 parent b56ee81 commit ea25796
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion automated/linux/mmtests/mmtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ collect_results() {
--argfile r "$json" \
'{details: $d, results: $r}' > "$merge_file"
# Replace results file
mv "$merge_file" "${OUTPUT}"/"$json"
mv "$merge_file" /tmp/"$json"
done
}

Expand Down
6 changes: 3 additions & 3 deletions automated/linux/mmtests/mmtests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ run:
[ -n "${MMTESTS_MAX_RETRIES}" ] && cmd+=" -r '${MMTESTS_MAX_RETRIES}'";
[ -n "${MMTEST_ITERATIONS}" ] && cmd+=" -i '${MMTEST_ITERATIONS}'";
eval $cmd
- if [ ! -z ${TEST_DIR} ]; then mv ${TEST_DIR}/../${TEST_NAME}*.json .; fi
- for file in ./${TEST_NAME}*.json; do ./json-to-lava.py $file >> ./output/result.txt; done
- ../../utils/send-to-lava.sh ./output/result.txt
- if [ ! -z ${TEST_DIR} ]; then mv /tmp/${TEST_NAME}*.json .; fi
- for file in ./*.json; do ./json-to-lava.py $file >> /tmp/result.txt; done
- ../../utils/send-to-lava.sh /tmp/result.txt

0 comments on commit ea25796

Please sign in to comment.