Skip to content

Commit

Permalink
[Test] Disable stack traces in thermo consistency tests
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
speth authored and ischoegl committed Nov 24, 2024
1 parent cd2a968 commit a5462d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/thermo_consistency/consistency.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a5462d4

Please sign in to comment.