From a5462d4150a86a31500cf10206baa38908f013bc Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 23 Nov 2024 16:07:23 -0500 Subject: [PATCH] [Test] Disable stack traces in thermo consistency tests The large number of NotImplementedError exceptions slow things down a lot on Windows (~3 minutes instead of ~2 seconds for this set of tests in debug builds). --- test/thermo_consistency/consistency.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/thermo_consistency/consistency.cpp b/test/thermo_consistency/consistency.cpp index 97683f2683..07a0684230 100644 --- a/test/thermo_consistency/consistency.cpp +++ b/test/thermo_consistency/consistency.cpp @@ -897,7 +897,7 @@ int main(int argc, char** argv) printf("Running main() from consistency.cpp\n"); testing::InitGoogleTest(&argc, argv); Cantera::make_deprecation_warnings_fatal(); - Cantera::CanteraError::setStackTraceDepth(20); + Cantera::CanteraError::setStackTraceDepth(0); int result = RUN_ALL_TESTS(); Cantera::appdelete(); return result;