Add new shell script to run polygerrit template test Change-Id: Iafef37b0df14f0a1de90b9f297604ce28b4b4171
diff --git a/polygerrit-ui/app/run_template_test.sh b/polygerrit-ui/app/run_template_test.sh new file mode 100755 index 0000000..4cd6e7f --- /dev/null +++ b/polygerrit-ui/app/run_template_test.sh
@@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +if [[ -z "${TEMPLATE_NO_DEFAULT}" ]]; then +bazel test \ + --test_env="HOME=$HOME" \ + //polygerrit-ui/app:all + --test_tag_filters=template \ + "$@" \ + --test_output errors \ + --nocache_test_results +else +bazel test \ + --test_env="HOME=$HOME" \ + "$@" \ + --test_output errors \ + --nocache_test_results +fi