blob: ba8a3ddad11b0a533fbcd0d79f5dec732352b53d [file] [log] [blame]
Sean Condon5ca00262018-09-06 17:55:25 +01001#!/bin/bash
2set -euo pipefail
3# --- begin runfiles.bash initialization ---
4if [[ ! -d "${RUNFILES_DIR:-/dev/null}" && ! -f "${RUNFILES_MANIFEST_FILE:-/dev/null}" ]]; then
5 if [[ -f "$0.runfiles_manifest" ]]; then
6 export RUNFILES_MANIFEST_FILE="$0.runfiles_manifest"
7 elif [[ -f "$0.runfiles/MANIFEST" ]]; then
8 export RUNFILES_MANIFEST_FILE="$0.runfiles/MANIFEST"
9 elif [[ -f "$0.runfiles/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then
10 export RUNFILES_DIR="$0.runfiles"
11 fi
12fi
13
14if [[ -f "${RUNFILES_DIR:-/dev/null}/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then
15 source "${RUNFILES_DIR}/bazel_tools/tools/bash/runfiles/runfiles.bash"
16elif [[ -f "${RUNFILES_MANIFEST_FILE:-/dev/null}" ]]; then
17 source "$(grep -m1 "^bazel_tools/tools/bash/runfiles/runfiles.bash " \
18 "$RUNFILES_MANIFEST_FILE" | cut -d ' ' -f 2-)"
19else
20 echo >&2 "ERROR: cannot find @bazel_tools//tools/bash/runfiles:runfiles.bash"
21 exit 1
22fi
23
24# --- end runfiles.bash initialization ---
25echo "Test results for Angular CLI commands run in _onos-gui2-fw-ng-test outputs at:"
26ls $(rlocation org_onosproject_onos/web/gui2-fw-lib/onos-gui2-fw-ng-ver.log)
27ls $(rlocation org_onosproject_onos/web/gui2-fw-lib/onos-gui2-fw-ng-lint.log)
28ls $(rlocation org_onosproject_onos/web/gui2-fw-lib/onos-gui2-fw-ng-test.log)
29