mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Mark erroring/failing tests
This commit is contained in:
@@ -223,6 +223,8 @@ class TestSysConfig(unittest.TestCase):
|
||||
|
||||
# XXX more platforms to tests here
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
def test_get_config_h_filename(self):
|
||||
config_h = sysconfig.get_config_h_filename()
|
||||
self.assertTrue(os.path.isfile(config_h), config_h)
|
||||
@@ -266,6 +268,8 @@ class TestSysConfig(unittest.TestCase):
|
||||
_main()
|
||||
self.assertTrue(len(output.getvalue().split('\n')) > 0)
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
@unittest.skipIf(sys.platform == "win32", "Does not apply to Windows")
|
||||
def test_ldshared_value(self):
|
||||
ldflags = sysconfig.get_config_var('LDFLAGS')
|
||||
@@ -316,6 +320,8 @@ class TestSysConfig(unittest.TestCase):
|
||||
self.assertEqual(status, 0)
|
||||
self.assertEqual(my_platform, test_platform)
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
def test_srcdir(self):
|
||||
# See Issues #15322, #15364.
|
||||
srcdir = sysconfig.get_config_var('srcdir')
|
||||
@@ -356,6 +362,8 @@ class TestSysConfig(unittest.TestCase):
|
||||
self.assertEqual(sysconfig.get_config_var('SO'),
|
||||
sysconfig.get_config_var('EXT_SUFFIX'))
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
@unittest.skipIf(sysconfig.get_config_var('EXT_SUFFIX') is None,
|
||||
'EXT_SUFFIX required for this test')
|
||||
def test_EXT_SUFFIX_in_vars(self):
|
||||
@@ -390,6 +398,8 @@ class TestSysConfig(unittest.TestCase):
|
||||
|
||||
class MakefileTests(unittest.TestCase):
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
@unittest.skipIf(sys.platform.startswith('win'),
|
||||
'Test is not Windows compatible')
|
||||
def test_get_makefile_filename(self):
|
||||
|
||||
Reference in New Issue
Block a user