diff options
Diffstat (limited to 'polygerrit-ui/app/run_template_test.sh')
-rwxr-xr-x | polygerrit-ui/app/run_template_test.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/polygerrit-ui/app/run_template_test.sh b/polygerrit-ui/app/run_template_test.sh new file mode 100755 index 0000000000..4cd6e7f611 --- /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 |