Index: test/lldbtest.py =================================================================== --- test/lldbtest.py +++ test/lldbtest.py @@ -663,6 +663,11 @@ def fn(self): return arch in self.getArchitecture() return expectedFailure(fn, bugnumber) + +def skipUnlessArch(arch): + def fn(self): + return not self.getArchitecture() in arch + return expectedFailure(fn, None) def expectedFailurei386(bugnumber=None): return expectedFailureArch('i386', bugnumber) Index: test/settings/TestSettings.py =================================================================== --- test/settings/TestSettings.py +++ test/settings/TestSettings.py @@ -164,9 +164,8 @@ self.runCmd("settings clear auto-confirm") self.expect("settings show auto-confirm", SETTING_MSG("auto-confirm"), startstr = "auto-confirm (boolean) = false") - - @expectedFailureArch("arm") - @expectedFailureArch("aarch64") + + @skipUnlessArch(['x86-64', 'i386']) def test_disassembler_settings(self): """Test that user options for the disassembler take effect.""" self.buildDefault()