From 6ac4e2cd8bd8dcce605be81756abe927f52c4767 Mon Sep 17 00:00:00 2001 From: "albert.zah" Date: Thu, 11 Jan 2024 07:11:33 +0000 Subject: [PATCH] Fix test.sh. --- test.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/test.sh b/test.sh index 740b656..181ab94 100755 --- a/test.sh +++ b/test.sh @@ -10,12 +10,9 @@ export RAY_TLS_SERVER_CERT="/tmp/rayfed/test-certs/server.crt" export RAY_TLS_SERVER_KEY="/tmp/rayfed/test-certs/server.key" export RAY_TLS_CA_CERT="/tmp/rayfed/test-certs/server.crt" -cd fed/tests -python3 -m pytest -v -s test_* -python3 -m pytest -v -s serializations_tests/test_* -python3 -m pytest -v -s multi-jobs/test_* -python3 -m pytest -v -s without_ray_tests/test_* -python3 -m pytest -v -s client_mode_tests/test_* -cd - +directory="fed/tests" +command="pytest -vs" + +find "$directory" -type f -exec bash -c "eval '$command'" \; echo "All tests finished."