def test_exceptions_white_list_uncaught(self):
    self.emcc_args += ['-std=c++11']
    self.set_setting('DISABLE_EXCEPTION_CATCHING', 2)
    if (not self.is_wasm_backend()):
        self.set_setting('EXCEPTION_CATCHING_WHITELIST', ['__Z4testv'])
    else:
        self.set_setting('EXCEPTION_CATCHING_WHITELIST', ['_Z4testv'])
    self.set_setting('INLINING_LIMIT', 1)
    self.do_run_in_out_file_test('tests', 'core', 'test_exceptions_white_list_uncaught')
def test_exceptions_white_list_uncaught(self):
    self.emcc_args += ['-std=c++11']
    self.set_setting('DISABLE_EXCEPTION_CATCHING', 2)
    if (not self.is_wasm_backend()):
        self.set_setting('EXCEPTION_CATCHING_WHITELIST', ['__Z4testv'])
    else:
        self.set_setting('EXCEPTION_CATCHING_WHITELIST', ['_Z4testv'])
    self.set_setting('INLINING_LIMIT', 1)
    self.do_run_in_out_file_test('tests', 'core', 'test_exceptions_white_list_uncaught')