From 832327cab10799eb93b406a350db68b8dc62c2cb Mon Sep 17 00:00:00 2001 From: Peter Ebden Date: Mon, 9 Sep 2024 16:09:21 +0100 Subject: [PATCH] Rework test to use ldd instead --- src/BUILD.plz | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BUILD.plz b/src/BUILD.plz index a2d15c364..34ca63ea5 100644 --- a/src/BUILD.plz +++ b/src/BUILD.plz @@ -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, )