* stable-3.0: Set version to 3.0.7-SNAPSHOT Set version to 3.0.6 Set version to 2.16.16-SNAPSHOT Set version to 2.16.15 Revert "Revert "Fix handling of interactive/batch users in the QoS filter"" Separate request context filter from cleanup Assert RequestCleanup ran only once Test Git/HTTP Servlet when SSH is enabled Only add the gr-app.js script at the end of the dom Remove preload on gr-app.js Fix linter errors under eslint 6.x Add example command for how to display note of an external ID Add example command for how to find SHA1 of an external ID Link global eslint packages to local project Revert "Fix handling of interactive/batch users in the QoS filter" Log also thread name in the sshd_log Log also thread name in the httpd_log Change-Id: Id4c33df202e91debfa1b2d29d303af2924817e96
31 lines
814 B
Bash
Executable File
31 lines
814 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
node_bin=$(which node) && true
|
|
if [ -z "$node_bin" ]; then
|
|
echo "node must be on the path."
|
|
exit 1
|
|
fi
|
|
|
|
npm_bin=$(which npm) && true
|
|
if [[ -z "$npm_bin" ]]; then
|
|
echo "NPM must be on the path. (https://www.npmjs.com/)"
|
|
exit 1
|
|
fi
|
|
|
|
# Have to find where node_modules are installed and set the NODE_PATH
|
|
|
|
get_node_path() {
|
|
cd $(dirname $node_bin)
|
|
cd ../lib/node_modules
|
|
pwd
|
|
}
|
|
|
|
export NODE_PATH=$(get_node_path)
|
|
|
|
unzip -o polygerrit-ui/polygerrit_components.bower_components.zip -d polygerrit-ui/app
|
|
python $TEST_SRCDIR/gerrit/polygerrit-ui/app/template_test_srcs/convert_for_template_tests.py
|
|
# Pass a file name argument from the --test_args (example: --test_arg=gr-list-view)
|
|
${node_bin} $TEST_SRCDIR/gerrit/polygerrit-ui/app/template_test_srcs/template_test.js $1 $2
|