/[escript]/branches/RW_WIN32/bruce/test/python/SConscript
ViewVC logotype

Contents of /branches/RW_WIN32/bruce/test/python/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 230 - (show annotations)
Fri Nov 25 06:51:36 2005 UTC (14 years, 10 months ago) by robwdcock
File size: 234 byte(s)
+ Added ability to RunPyUnitTests when anything they depend on changes (assuming all dependencies are set up that is). Only implemented for bruce/test/python at this stage
1 Import('*')
2
3 local_env=env.Copy()
4
5 src_dir = local_env.Dir('.').srcnode().abspath
6
7 import os
8 filenames = os.listdir(src_dir)
9 python_src = [x for x in filenames if os.path.splitext(x)[1] in ['.py']]
10
11 local_env.RunPyUnitTest(python_src)

  ViewVC Help
Powered by ViewVC 1.1.26