Ensure that the directory paths are as they should be under the runtime. Note that this change requires (for now) the regression tests to be run from the web/regression directory.

This commit is contained in:
Dave Page 2016-09-26 16:38:27 +01:00
parent e06fd21f3c
commit 7175929cab
2 changed files with 8 additions and 5 deletions

View File

@ -108,14 +108,17 @@ Execution:
and registered automatically by its module name in
'pgadmin4/web/pgadmin/utils/test.py' file.
- Change to the regression test directory:
run 'cd web/regression'
- Execute the test framework for all nodes
run 'regression/runtests.py --pkg all' or just:
'regression/runtests.py'
run 'python runtests.py --pkg all' or just:
'python runtests.py'
- Execute test framework for single node at a time
Example 1) Run test framework for 'browser' node
run 'regression/runtests.py --pkg browser'
run 'python runtests.py --pkg browser'
Example 2) Run test framework for 'database' node
run 'regression/runtests.py --pkg browser.server_groups.servers.databases'
run 'python runtests.py --pkg browser.server_groups.servers.databases'

View File

@ -360,7 +360,7 @@ if __name__ == '__main__':
print("======================================\n")
local_config = os.path.join(
os.path.dirname(os.path.dirname(__file__)),
os.path.dirname(os.path.realpath(__file__)),
'config_local.py'
)