From d789a296f5bf73bf4f379be1551185d1a1d72a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 16 Jun 2021 14:54:52 +0300 Subject: [PATCH] stronger assertions --- .build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.build.yml b/.build.yml index 563389a..5203f84 100644 --- a/.build.yml +++ b/.build.yml @@ -18,22 +18,22 @@ tasks: cd bazel-zig-cc; ../bazel run \ --platforms @zig_sdk//:x86_64-linux-gnu //test:gognu file $(./getpath @zig_sdk//:x86_64-linux-gnu //test:gognu) | \ - tee /dev/stderr | grep -q "dynamically linked" + tee /dev/stderr | grep -q "ELF 64-bit.* x86-64.* dynamically linked" - test_x86_64-linux-musl: | cd bazel-zig-cc; ../bazel run \ --platforms @zig_sdk//:x86_64-linux-musl //test:gomusl file $(./getpath @zig_sdk//:x86_64-linux-musl //test:gomusl) | \ - tee /dev/stderr | grep -q "statically linked" + tee /dev/stderr | grep -q "ELF 64-bit.* x86-64.* statically linked" - test_aarch64-linux-gnu: | cd bazel-zig-cc; ../bazel build \ --platforms @zig_sdk//:aarch64-linux-gnu //test:gognu file $(./getpath @zig_sdk//:aarch64-linux-gnu //test:gognu) | \ - tee /dev/stderr | grep -q "dynamically linked" + tee /dev/stderr | grep -q "ELF 64-bit.* ARM aarch64.* dynamically linked" - test_aarch64-linux-musl: | cd bazel-zig-cc; ../bazel build \ --platforms @zig_sdk//:aarch64-linux-musl //test:gomusl file $(./getpath @zig_sdk//:aarch64-linux-musl //test:gomusl) | \ - tee /dev/stderr | grep -q "statically linked" + tee /dev/stderr | grep -q "ELF 64-bit.* ARM aarch64.* statically linked" - test_x86_64-macos-gnu: | cd bazel-zig-cc; ../bazel build \ --platforms @zig_sdk//:x86_64-macos-gnu //test:gognu