Skip to content

Commit b6d2f10

Browse files
committed
fix asm2g.test_the_bullet
1 parent f6fd135 commit b6d2f10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_core.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -9002,6 +9002,7 @@ def test_the_bullet(self): # Called thus so it runs late in the alphabetical cyc
90029002
'btVoronoiSimplexSolver.h:42', 'btVoronoiSimplexSolver.h:43']
90039003

90049004
for use_cmake in [False, True]: # If false, use a configure script to configure Bullet build.
9005+
print 'cmake', use_cmake
90059006
# Windows cannot run configure sh scripts.
90069007
if WINDOWS and not use_cmake:
90079008
continue
@@ -9016,7 +9017,7 @@ def test():
90169017
test()
90179018

90189019
assert 'asm2g' in test_modes
9019-
if self.run_name == 'asm2g' and configure[0] == 'sh':
9020+
if self.run_name == 'asm2g' and not use_cmake:
90209021
# Test forced alignment
90219022
print >> sys.stderr, 'testing FORCE_ALIGNED_MEMORY'
90229023
old = open('src.cpp.o.js').read()

0 commit comments

Comments
 (0)