aports/main/scons/broken-tests.patch
2022-03-16 19:26:17 +00:00

22 lines
870 B
Diff

diff --git a/SCons/ActionTests.py b/SCons/ActionTests.py
--- a/SCons/ActionTests.py
+++ b/SCons/ActionTests.py
@@ -2253,3 +2253,3 @@
(3, 9): bytearray(b'3, 3, 0, 0,(),(),(|\x00S\x00),(),()'),
- (3, 10): bytearray(b'3, 3, 0, 0,(N.),(),(|\x00S\x00),(),()'),
+ (3, 10): bytearray(b'3, 3, 0, 0,(),(),(|\x00S\x00),(),()'),
}
diff --git a/testing/framework/TestSConsMSVS.py b/testing/framework/TestSConsMSVS.py
--- a/testing/framework/TestSConsMSVS.py
+++ b/testing/framework/TestSConsMSVS.py
@@ -661,2 +661,8 @@
class TestSConsMSVS(TestSCons):
"""Subclass for testing MSVS-specific portions of SCons."""
+
+ def __init__(self):
+ super().__init__()
+ if sys.platform != 'win32':
+ msg = "Skipping Visual Studio test on non-Windows platform '%s'\n" % sys.platform
+ self.skip_test(msg)