Skip to content

Commit

Permalink
Rework test to use ldd instead
Browse files Browse the repository at this point in the history
  • Loading branch information
peterebden committed Sep 9, 2024
1 parent d256ad0 commit 832327c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BUILD.plz
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ filegroup(
if is_platform(os = "linux"):
gentest(
name = "static_test",
test_cmd = "file $DATA | grep 'statically linked'",
test_cmd = "ldd $DATA && exit 1 || exit 0",
data = [":please"],
no_test_output = True,
)

0 comments on commit 832327c

Please sign in to comment.