Skip to content

Commit df5ca62

Browse files
committed
WIP: Run pytest model tests in parallell
Signed-off-by: Erik Lundell <[email protected]> Change-Id: Ifccccff659e7ce8f747d861e1c61942858bcdd35
1 parent 72580d2 commit df5ca62

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)