gerrit/polygerrit-ui/app/run_template_test.sh
Ole Rehmsen eec6781260 Simplify installing / running template tests
Also fixed a bug in the script that would cause it to ignore half of the
arguments.

Change-Id: Id407c76bc9433804db01cfc4a9d6ede9692b9601
2019-05-16 15:57:16 +02:00

18 lines
372 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