def test_fnmatch(self):
    if (self.run_name == 'asm2m'):
        i = self.emcc_args.index('ASSERTIONS=1')
        assert ((i > 0) and (self.emcc_args[(i - 1)] == '-s'))
        self.emcc_args[i] = 'ASSERTIONS=0'
        print('flip assertions off')
    self.do_run_in_out_file_test('tests', 'core', 'test_fnmatch')
def test_fnmatch(self):
    if (self.run_name == 'asm2m'):
        i = self.emcc_args.index('ASSERTIONS=1')
        assert ((i > 0) and (self.emcc_args[(i - 1)] == '-s'))
        self.emcc_args[i] = 'ASSERTIONS=0'
        print('flip assertions off')
    self.do_run_in_out_file_test('tests', 'core', 'test_fnmatch')