blob: 586c5f01472ff567ea1930c5a633d3126ccc1906 [file] [log] [blame]
Davide Scanob5ade982020-06-03 21:47:13 +02001#!/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 int-gui2-lib-tests outputs at:"
26ls $(rlocation org_onosproject_onos/apps/inbandtelemetry/int-gui2-lib/int-gui2-lib-ver.log)
27ls $(rlocation org_onosproject_onos/apps/inbandtelemetry/int-gui2-lib/int-gui2-lib-lint.log)
28ls $(rlocation org_onosproject_onos/apps/inbandtelemetry/int-gui2-lib/int-gui2-lib-test.log)
29