diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-03-01 12:05:22 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-03-01 13:31:47 -0800 |
commit | 84b9b8f7f154b03aeea2b738ec48942ea309741b (patch) | |
tree | 5aa53541622c794a6e174f29264da0eebf6d9657 | |
parent | c46b9c0557eda229f1e73ebc54e079b321f997bd (diff) |
extra testing for ASSERTIONS == 2
-rw-r--r-- | tests/test_core.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index e456f90d..ddb61b2b 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -4945,12 +4945,16 @@ def process(filename): Settings.SAFE_HEAP_LINES = ['btVoronoiSimplexSolver.h:40', 'btVoronoiSimplexSolver.h:41', 'btVoronoiSimplexSolver.h:42', 'btVoronoiSimplexSolver.h:43'] + asserts = Settings.ASSERTIONS + for use_cmake in [False, True]: # If false, use a configure script to configure Bullet build. print 'cmake', use_cmake # Windows cannot run configure sh scripts. if WINDOWS and not use_cmake: continue + Settings.ASSERTIONS = 2 if use_cmake else asserts # extra testing for ASSERTIONS == 2 + def test(): self.do_run(open(path_from_root('tests', 'bullet', 'Demos', 'HelloWorld', 'HelloWorld.cpp'), 'r').read(), [open(path_from_root('tests', 'bullet', 'output.txt'), 'r').read(), # different roundings |