From 875823ba9607a85aeab2609044ff50df535ac2b7 Mon Sep 17 00:00:00 2001 From: Yuval Tassa Date: Sat, 18 May 2024 03:06:41 -0700 Subject: [PATCH] Speed up slow test. PiperOrigin-RevId: 635014612 Change-Id: Ifb7fe174827f59647bb254a3ece25abbd57962ca --- test/sample/testspeed_test.sh | 8 ++++++-- test/user/testdata/shark_22_ascii_fTetWild.xml | 3 ++- test/user/testdata/shark_22_binary_fTetWild.xml | 1 + 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/test/sample/testspeed_test.sh b/test/sample/testspeed_test.sh index bb5fe53c..f458a8e7 100755 --- a/test/sample/testspeed_test.sh +++ b/test/sample/testspeed_test.sh @@ -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 || diff --git a/test/user/testdata/shark_22_ascii_fTetWild.xml b/test/user/testdata/shark_22_ascii_fTetWild.xml index 2bead34f..11784dd3 100644 --- a/test/user/testdata/shark_22_ascii_fTetWild.xml +++ b/test/user/testdata/shark_22_ascii_fTetWild.xml @@ -19,7 +19,8 @@ - + + diff --git a/test/user/testdata/shark_22_binary_fTetWild.xml b/test/user/testdata/shark_22_binary_fTetWild.xml index 95ce1873..e4ecc6b1 100644 --- a/test/user/testdata/shark_22_binary_fTetWild.xml +++ b/test/user/testdata/shark_22_binary_fTetWild.xml @@ -20,6 +20,7 @@ +