def test_emscripten_api(self):
    self.set_setting('EXPORTED_FUNCTIONS', ['_main', '_save_me_aimee'])
    self.do_run_in_out_file_test('tests', 'core', 'test_emscripten_api')
    if ('-fsanitize=address' not in self.emcc_args):
        self.set_setting('EXPORTED_FUNCTIONS', [])
        self.set_setting('EXPORT_ALL', 1)
        self.set_setting('LINKABLE', 1)
        self.do_run_in_out_file_test('tests', 'core', 'test_emscripten_api')
def test_emscripten_api(self):
    self.set_setting('EXPORTED_FUNCTIONS', ['_main', '_save_me_aimee'])
    self.do_run_in_out_file_test('tests', 'core', 'test_emscripten_api')
    if ('-fsanitize=address' not in self.emcc_args):
        self.set_setting('EXPORTED_FUNCTIONS', [])
        self.set_setting('EXPORT_ALL', 1)
        self.set_setting('LINKABLE', 1)
        self.do_run_in_out_file_test('tests', 'core', 'test_emscripten_api')