gerrit/polygerrit-ui/app/run_template_test.sh
Paladox none 4112ff2b08 Add new shell script to run polygerrit template test
Change-Id: Iafef37b0df14f0a1de90b9f297604ce28b4b4171
2018-04-26 16:39:06 +00:00

18 lines
370 B
Bash
Executable File

#!/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