Skip to content

Commit d087e2c

Browse files
committed
cleanup test 2
1 parent 89d275c commit d087e2c

File tree

3 files changed

+2
-33
lines changed

3 files changed

+2
-33
lines changed

tests/cc/current_py_cc_headers/BUILD.bazel

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff 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-
3932
py_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",

tests/cc/current_py_cc_headers/abi3_headers_linkage_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from python.runfiles import runfiles
99

1010
class 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")

tests/cc/current_py_cc_headers/abi3_headers_linkage_test.sh

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)