From 5090715b97079b27774ed65ea815474cf9964583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 21 Oct 2021 11:38:24 +0300 Subject: [PATCH] [ci/test] simplify _build_and_file --- ci/test | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ci/test b/ci/test index 91c83f4..c513806 100755 --- a/ci/test +++ b/ci/test @@ -4,12 +4,8 @@ cd "$(dirname "$0")/.." . .envrc _build_and_file() { - bazel build --color=yes --curses=yes "$@" - local execpath - execpath=$(bazel aquery "$@" 2>/dev/null | \ - awk "/action 'GoLink/{f=1};/Outputs: /&&f{print;exit}" | \ - awk -F'\\[|\\]' '{print $2}') - file "$execpath" | tee /dev/stderr + file $(bazel run --color=yes --curses=yes --run_under=echo "$@") | \ + tee /dev/stderr } _test() {