@needs_make('make')
@is_slow_test
@parameterized({'cmake': (True,), 'autoconf': (False,)})
def test_bullet(self, use_cmake):
    if (WINDOWS and (not use_cmake)):
        self.skipTest('Windows cannot run configure sh scripts')
    self.set_setting('DEAD_FUNCTIONS', ['__ZSt9terminatev'])
    self.emcc_args += ['-Wno-c++11-narrowing', '-Wno-deprecated-register', '-Wno-writable-strings']
    asserts = self.get_setting('ASSERTIONS')
    self.set_setting('ASSERTIONS', (2 if use_cmake else asserts))
    self.do_run(open(path_from_root('tests', 'third_party', 'bullet', 'Demos', 'HelloWorld', 'HelloWorld.cpp')).read(), [open(path_from_root('tests', 'bullet', 'output.txt')).read(), open(path_from_root('tests', 'bullet', 'output2.txt')).read(), open(path_from_root('tests', 'bullet', 'output3.txt')).read(), open(path_from_root('tests', 'bullet', 'output4.txt')).read()], libraries=self.get_bullet_library(use_cmake), includes=[path_from_root('tests', 'third_party', 'bullet', 'src')])
@needs_make('make')
@is_slow_test
@parameterized({'cmake': (True,), 'autoconf': (False,)})
def test_bullet(self, use_cmake):
    if (WINDOWS and (not use_cmake)):
        self.skipTest('Windows cannot run configure sh scripts')
    self.set_setting('DEAD_FUNCTIONS', ['__ZSt9terminatev'])
    self.emcc_args += ['-Wno-c++11-narrowing', '-Wno-deprecated-register', '-Wno-writable-strings']
    asserts = self.get_setting('ASSERTIONS')
    self.set_setting('ASSERTIONS', (2 if use_cmake else asserts))
    self.do_run(open(path_from_root('tests', 'third_party', 'bullet', 'Demos', 'HelloWorld', 'HelloWorld.cpp')).read(), [open(path_from_root('tests', 'bullet', 'output.txt')).read(), open(path_from_root('tests', 'bullet', 'output2.txt')).read(), open(path_from_root('tests', 'bullet', 'output3.txt')).read(), open(path_from_root('tests', 'bullet', 'output4.txt')).read()], libraries=self.get_bullet_library(use_cmake), includes=[path_from_root('tests', 'third_party', 'bullet', 'src')])