Update default FUEL_WEB_ROOT value for convenience

Usually fuel-* repos in development environment are stored in the
same dir, so this commits updates the default value accordingly.

Change-Id: I920eb58bc776f17908dcd1412b58eece93a0ef63
Implements: blueprint separate-fuel-ui-repo
This commit is contained in:
Vitaly Kramskikh 2016-03-01 19:57:33 +07:00
parent c9aadde6ee
commit ab6a438ca9
2 changed files with 8 additions and 1 deletions

View File

@ -69,6 +69,13 @@ Testing
npm run lint
npm test
UI functional tests require Nailgun server from fuel-web repo to be
installed. By default it's assumed that fuel-web repo is in the same
directory as fuel-ui repo, but you can specify another path using
FUEL_WEB_ROOT environment variable::
FUEL_WEB_ROOT=/path/to/fuel-web npm test
By default Firefox browser is used. You can specify the browser using
BROWSER environment variable::

View File

@ -42,7 +42,7 @@ function process_options {
done
}
FUEL_WEB_ROOT=$(readlink -f ${FUEL_WEB_ROOT:-$(dirname $0)/..})
FUEL_WEB_ROOT=$(readlink -f ${FUEL_WEB_ROOT:-$(dirname $0)/../fuel-web})
NAILGUN_ROOT=$FUEL_WEB_ROOT/nailgun
ARTIFACTS=${ARTIFACTS:-`pwd`/test_run/ui_func}