Don't run particle.xml in testspeed_test under ASAN.
Reduce the number of steps for a couple of other slow tests. PiperOrigin-RevId: 591844569 Change-Id: If722567b91163f1f3c451302f9543a43d05872a1
This commit is contained in:
committed by
Copybara-Service
parent
dc0d0c59d4
commit
8ecb16abfa
@@ -26,8 +26,17 @@ test_model() {
|
||||
echo "Testing $model" >&2
|
||||
|
||||
local iterations=10
|
||||
if [[ "$model" == */composite/particle.xml && ${TESTSPEED_ASAN:-0} != 0 ]]; then
|
||||
iterations=2
|
||||
# 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
|
||||
return 0
|
||||
fi
|
||||
if [[ "$model" == */benchmark/testdata/humanoid200.xml
|
||||
|| "$model" == */engine/testdata/collision_convex/stacked_boxes.xml
|
||||
]]; then
|
||||
iterations=2
|
||||
fi
|
||||
fi
|
||||
|
||||
# run testspeed, writing its output to stderr.
|
||||
|
||||
Reference in New Issue
Block a user