/[escript]
ViewVC logotype

Revision 676


Jump to revision: Previous Next
Author: robwdcock
Date: Sun Mar 26 10:13:34 2006 UTC (13 years ago)
Changed paths: 8
Log Message:
+ Modified test SConscript dependencies to remove redundant call to explicit dependency
+ Modified scon_extensions.py - run unit tests (py and C++) now use scons::Execute rather than python os.system. This ensures the development environment
is used rather than the users environment to run the tests
+ SConstruct file now sets up LD_LIBRARY_PATH and PYTHONPATH to point to the current builds pyinstall and libinstall paths as required.
IT IS NO LONGER NECESSARY TO SET LD_LIBRARY_PATH and PYTHONPATH to point at your build outputs. Much safer in the presence of multiple checked out builds.
Under these circumstances you are better of using scons to run the tests rather than doing so directly. Easiest way to do this is to build the test output target for the test you want:
e.g. scons build/posix/bruce/test/python/ImportTest.passed
or if you prefer
cd build/posix/bruce/test/python
scons -u ImportTest.passed



Changed paths

Path Details
Directorybranches/ROBW_XPLATFORM/SConstruct modified , text changed
Directorybranches/ROBW_XPLATFORM/bruce/test/SConscript modified , text changed
Directorybranches/ROBW_XPLATFORM/bruce/test/python/SConscript modified , text changed
Directorybranches/ROBW_XPLATFORM/escript/test/SConscript modified , text changed
Directorybranches/ROBW_XPLATFORM/escript/test/python/SConscript modified , text changed
Directorybranches/ROBW_XPLATFORM/finley/test/SConscript modified , text changed
Directorybranches/ROBW_XPLATFORM/finley/test/python/SConscript modified , text changed
Directorybranches/ROBW_XPLATFORM/scons/scons_extensions.py modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.26