def test_atomic_cxx(self):
    is_lock_free = self.is_wasm_backend()
    self.emcc_args += [('-DIS_64BIT_LOCK_FREE=%d' % is_lock_free)]
    self.do_run_in_out_file_test('tests', 'core', 'test_atomic_cxx')
    if ((self.get_setting('ALLOW_MEMORY_GROWTH') == 0) and (not self.is_wasm()) and (not self.is_wasm_backend())):
        print('main module')
        self.set_setting('MAIN_MODULE', 1)
        self.do_run_in_out_file_test('tests', 'core', 'test_atomic_cxx')
def test_atomic_cxx(self):
    is_lock_free = self.is_wasm_backend()
    self.emcc_args += [('-DIS_64BIT_LOCK_FREE=%d' % is_lock_free)]
    self.do_run_in_out_file_test('tests', 'core', 'test_atomic_cxx')
    if ((self.get_setting('ALLOW_MEMORY_GROWTH') == 0) and (not self.is_wasm()) and (not self.is_wasm_backend())):
        print('main module')
        self.set_setting('MAIN_MODULE', 1)
        self.do_run_in_out_file_test('tests', 'core', 'test_atomic_cxx')