Skip to content

Commit 0a86265

Browse files
committed
Adjust platform filter for new test
1 parent fd8ead8 commit 0a86265

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

test/MODULE.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ module(
33
version = "0.1.0",
44
)
55

6+
bazel_dep(
7+
name = "platforms",
8+
version = "0.0.5",
9+
)
10+
611
bazel_dep(
712
name = "rules_erlang",
813
version = "3.0.0",

test/app_file/BUILD.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,9 @@ sh_test(
1212
srcs = [":test_applications_preserved.sh"],
1313
args = ["$(location :app_file)"],
1414
data = [":app_file"],
15+
target_compatible_with = select({
16+
"@platforms//os:osx": [],
17+
"@platforms//os:linux": [],
18+
"//conditions:default": ["@platforms//:incompatible"],
19+
}),
1520
)
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
set -euxo pipefail
22

3-
tree $PWD
4-
5-
grep crypto $1
3+
grep crypto $1

0 commit comments

Comments
 (0)