blob: a11f6aa83f12761d9f4da4b96f451c80a4c5094a [file] [log] [blame]
Chase Qifaf7d282016-08-29 19:34:01 +08001#!/bin/sh -eu
Chase Qi09edc7f2016-08-18 13:18:50 +08002
Chase Qifaf7d282016-08-29 19:34:01 +08003REPO_PATH="$(pwd)"
4export REPO_PATH
Chase Qi09edc7f2016-08-18 13:18:50 +08005echo "REPO_PATH: ${REPO_PATH}"
6
7if ! [ -d "${REPO_PATH}/automated/bin" ]; then
Chase Qi3d1bc842016-08-26 14:47:16 +08008 echo "ERROR: Please execute the below command from 'test-definitions' DIR"
Chase Qi09edc7f2016-08-18 13:18:50 +08009 echo " . ./automated/bin/setenv.sh"
10 exit 1
11fi
12
Chase Qifaf7d282016-08-29 19:34:01 +080013PATH="${REPO_PATH}/automated/bin:${PATH}"
14export PATH
Chase Qi09edc7f2016-08-18 13:18:50 +080015echo "BIN_PATH: ${PATH}"