Merge lp:~zorba-coders/zorba/zorba-tests-when-installed-fix into lp:zorba
Status: | Work in progress |
---|---|
Proposed branch: | lp:~zorba-coders/zorba/zorba-tests-when-installed-fix |
Merge into: | lp:zorba |
Diff against target: |
61 lines (+14/-4) 3 files modified
cmake_modules/ZorbaModule.cmake (+1/-1) src/context/static_context.cpp (+2/-2) test/rbkt/Queries/CMakeLists.txt (+11/-1) |
To merge this branch: | bzr merge lp:~zorba-coders/zorba/zorba-tests-when-installed-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Hillery | Pending | ||
Matthias Brantner | Pending | ||
Review via email: mp+109160@code.launchpad.net |
Commit message
This fix should bring the failing tests down to 7% in case Zorba is installed on the machine.
Description of the change
This fix should bring the failing tests down to 7% in case Zorba is installed on the machine. It swaps the lib path resolution strategy from top-down to bottom-up through the static context, so that the lib path provided on the command line (in the build directory for a test) takes priority over the root static context's builtin module paths (the first one being in the install directory). Some of the remaining failing tests are probably still failing because the test executables also need to be adapted to override the lib path through their command line (so far this is done for rbkt tests only).
Normally, this fix should not lead to any regression in the case Zorba is not installed.
Unmerged revisions
- 10869. By Ghislain Fourny
-
Added module path for internal rbkt tests.
- 10868. By Ghislain Fourny
-
Merged trunk back.
- 10867. By Ghislain Fourny
-
This fix should allow test execution even if Zorba is installed.
Validation queue starting for merge proposal. zorbatest. lambda. nu:8080/ remotequeue/ zorba-tests- when-installed- fix-2012- 06-07T14- 49-11.936Z/ log.html
Log at: http://