Skip to content

Commit f14a1d0

Browse files
authored
Add JSON output to multi-GPU tests (#274)
1 parent 6ee76a8 commit f14a1d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/rocm/run_multi_gpu.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,15 @@ run_tests() {
5454

5555
python3 -m pytest \
5656
--html="${LOG_DIR}/multi_gpu_pmap_test_log.html" \
57+
--json-report \
58+
--json-report-file="${LOG_DIR}/multi_gpu_pmap_test_log.json" \
5759
--reruns 3 \
5860
tests/pmap_test.py
5961

6062
python3 -m pytest \
6163
--html="${LOG_DIR}/multi_gpu_multi_device_test_log.html" \
64+
--json-report \
65+
--json-report-file="${LOG_DIR}/multi_gpu_multi_device_test_log.json" \
6266
--reruns 3 \
6367
tests/multi_device_test.py
6468

0 commit comments

Comments
 (0)