File: SConstruct

package info (click to toggle)
cxxtest 4.4%2Bgit171022-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 2,836 kB
  • sloc: cpp: 9,567; python: 9,553; xml: 435; sh: 258; ruby: 229; makefile: 86; ansic: 68; perl: 16
file content (12 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
CxxTestBuilder_path = '../../build_tools/SCons/cxxtest.py'
CxxTest_dir = '../..'

# First a little python magic to pull in CxxTestBuilder
import imp
cxxtest = imp.load_source('cxxtest', CxxTestBuilder_path)
env = Environment()
cxxtest.generate(env, CXXTEST_INSTALL_DIR=CxxTest_dir)

for test in env.Glob('*.t.h'):
  env.CxxTest(test)