diff --git a/automated/linux/mmtests/mmtests.sh b/automated/linux/mmtests/mmtests.sh index 4a9f0f5dd..fe0e9c56c 100755 --- a/automated/linux/mmtests/mmtests.sh +++ b/automated/linux/mmtests/mmtests.sh @@ -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 } diff --git a/automated/linux/mmtests/mmtests.yaml b/automated/linux/mmtests/mmtests.yaml index 0b5604de8..a853b151f 100644 --- a/automated/linux/mmtests/mmtests.yaml +++ b/automated/linux/mmtests/mmtests.yaml @@ -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