Speed up slow test.

PiperOrigin-RevId: 635014612
Change-Id: Ifb7fe174827f59647bb254a3ece25abbd57962ca
This commit is contained in:
Yuval Tassa
2024-05-18 03:06:41 -07:00
committed by Copybara-Service
parent f6f9ff537b
commit 875823ba96
3 changed files with 9 additions and 3 deletions
+6 -2
View File
@@ -28,8 +28,12 @@ test_model() {
local iterations=10
# for particularly slow models, only run 2 steps under ASAN, or skip.
if [[ ${TESTSPEED_ASAN:-0} != 0 ]]; then
if [[ "$model" == */composite/particle.xml ]]; then
# this test can take several minutes under ASAN
if [[ "$model" == */composite/particle.xml ||
"$model" == */replicate/bunnies.xml ||
"$model" == */replicate/leaves.xml ||
"$model" == */replicate/particle.xml
]]; then
# these tests can take several minutes under ASAN
return 0
fi
if [[ "$model" == */benchmark/testdata/humanoid200.xml ||