Make running of unit tests more robust

Unit tests would fail if run from a symlinked directory.
To fix this, this patch adds the -P switch to the pwd command,
to make sure all files are referred to by their actual paths
and not symlinks.

Change-Id: Ib7087c11f9dc2c44be3aca8cf94db227a2db72f3
Closes-Bug: #1266220
This commit is contained in:
Ana Krivokapic 2014-01-05 17:03:43 +01:00
parent 08f41fa388
commit c49fcd3bd9
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ function usage {
# DEFAULTS FOR RUN_TESTS.SH
#
root=`pwd`
root=`pwd -P`
venv=$root/.venv
with_venv=tools/with_venv.sh
included_dirs="openstack_dashboard horizon"