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:
parent
08f41fa388
commit
c49fcd3bd9
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue