summaryrefslogtreecommitdiffhomepage
path: root/scripts/packetimpact_tests.sh
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-06-09 10:45:31 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-09 10:48:24 -0700
commit20afd66e019bf0aaaf66e854135cd2c0fe0dfd92 (patch)
tree45a756bcb7e2dfd21c351c81dd084e4f9b5e2db7 /scripts/packetimpact_tests.sh
parent4e96b94915633cc06bf04bd680f4eeba6a764dc9 (diff)
Invoke bazel query via bash function.
PiperOrigin-RevId: 315514034
Diffstat (limited to 'scripts/packetimpact_tests.sh')
-rwxr-xr-xscripts/packetimpact_tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/packetimpact_tests.sh b/scripts/packetimpact_tests.sh
index 17fc43f27..51c11f23f 100755
--- a/scripts/packetimpact_tests.sh
+++ b/scripts/packetimpact_tests.sh
@@ -19,4 +19,5 @@ source $(dirname $0)/common.sh
make load-packetimpact
install_runsc_for_test runsc-d
-test_runsc $(bazel query "attr(tags, packetimpact, tests(//test/packetimpact/...))")
+query "attr(tags, packetimpact, tests(//test/packetimpact/...))"
+test_runsc $QUERY_RESULT