/[escript]/trunk/ripley/test/SConscript
ViewVC logotype

Contents of /trunk/ripley/test/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3792 - (show annotations)
Wed Feb 1 06:16:25 2012 UTC (7 years, 1 month ago) by caltinay
File size: 1296 byte(s)
Merged ripley rectangular domain into trunk.

1
2 ########################################################
3 #
4 # Copyright (c) 2003-2012 by University of Queensland
5 # Earth Systems Science Computational Center (ESSCC)
6 # http://www.uq.edu.au/esscc
7 #
8 # Primary Business: Queensland, Australia
9 # Licensed under the Open Software License version 3.0
10 # http://www.opensource.org/licenses/osl-3.0.php
11 #
12 ########################################################
13
14
15 Import('*')
16 local_env = env.Clone()
17
18 #if local_env['cppunit']:
19 # # get the test source file names
20 # sources = Glob('*.cpp')
21 # testname='ripley_UnitTest'
22 #
23 # # build the executable
24 # local_env.Prepend(LIBS=['ripley', 'pasowrap', 'escript', 'esysUtils', 'paso']+env['cppunit_libs'])
25 # program = local_env.Program(testname, sources)
26 #
27 # # run the tests - but only if test_targets are stale
28 # local_env.RunUnitTest(testname)
29 #
30 # # add unit test to target alias
31 # Alias('build_tests', program)
32 # Alias("run_tests", testname+'.passed')
33 #
34 # # add a group of tests
35 # from grouptest import *
36 # tgroup=GroupTest("$BINRUNNER ", (), "", "$BUILD_DIR/ripley/test", ('./'+testname,))
37 # TestGroups.append(tgroup)
38
39 # configure python unit tests
40 local_env.SConscript(dirs = ['#/ripley/test/python'], variant_dir='python', duplicate=0, exports=['py_wrapper_lib'])
41

  ViewVC Help
Powered by ViewVC 1.1.26