Skip to content

Commit 910918e

Browse files
authored
Arm backend: Run pytest model tests in parallell (#13322)
Reduces time of pytest model jobs with ~50%. Upstream ci tested successfully 4 times, and easy to revert if it turns out to be flaky. Signed-off-by: Erik Lundell <[email protected]>
1 parent b36d6b6 commit 910918e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backends/arm/test/test_arm_baremetal.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ test_pytest_models() { # Test ops and other things
101101
source backends/arm/scripts/install_models_for_test.sh
102102

103103
# Run arm baremetal pytest tests without FVP
104-
pytest --verbose --color=yes --durations=0 backends/arm/test/models
104+
pytest --verbose --color=yes --numprocesses=auto --durations=0 backends/arm/test/models
105105
echo "${TEST_SUITE_NAME}: PASS"
106106
}
107107

@@ -141,7 +141,7 @@ test_pytest_models_ethosu_fvp() { # Same as test_pytest but also sometime verify
141141
source backends/arm/scripts/install_models_for_test.sh
142142

143143
# Run arm baremetal pytest tests with FVP
144-
pytest --verbose --color=yes --durations=0 backends/arm/test/models
144+
pytest --verbose --color=yes --numprocesses=auto --durations=0 backends/arm/test/models
145145
echo "${TEST_SUITE_NAME}: PASS"
146146
}
147147

0 commit comments

Comments
 (0)