mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
15 lines
421 B
Bash
Executable File
15 lines
421 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script is added to the PATH on LUCI when executing the junit tests.
|
|
# The Python scripts used to compare the screenshots are contained in a jar file.
|
|
# As a result, vpython cannot find the .vpython spec file because it's outside
|
|
# of the jar file.
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR="$( dirname "${BASH_SOURCE[0]}" )"
|
|
|
|
echo "Running from $SCRIPT_DIR/bin/python"
|
|
|
|
vpython -vpython-spec "$SCRIPT_DIR/../.vpython" "$@"
|