File tree Expand file tree Collapse file tree 3 files changed +2
-33
lines changed Expand file tree Collapse file tree 3 files changed +2
-33
lines changed Original file line number Diff line number Diff line change @@ -29,18 +29,12 @@ cc_binary(
2929 ],
3030)
3131
32- #sh_test(
33- # name = "abi3_headers_linkage_test",
34- # srcs = ["abi3_headers_linkage_test.sh"],
35- # data = [":bin_abi3"],
36- # deps = ["@bazel_tools//tools/bash/runfiles"],
37- #)
38-
3932py_test (
4033 name = "abi3_headers_linkage_test_py" ,
4134 srcs = ["abi3_headers_linkage_test.py" ],
4235 data = [":bin_abi3" ],
4336 main = "abi3_headers_linkage_test.py" ,
37+ target_compatible_with = ["@platforms//os:windows" ],
4438 deps = [
4539 "//python/runfiles" ,
4640 "@dev_pip//pefile" ,
Original file line number Diff line number Diff line change 88from python .runfiles import runfiles
99
1010class CheckLinkageTest (unittest .TestCase ):
11- @unittest .skipUnless (sys .platform .startswith ("win" ))
11+ @unittest .skipUnless (sys .platform .startswith ("win" ), "requires windows" )
1212 def test_linkage_windows (self ):
1313 rf = runfiles .Create ()
1414 dll_path = rf .Rlocation ("_main/tests/cc/current_py_cc_headers/bin_abi3.dll" )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments