| # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| from waflib import Utils, Context |
| if not bld.env['WITH_TESTS']: |
| dst = bld.bldnode.make_node("conf-test/anchors") |
| name = 'test-validator-conf', |
| source = '../validator.conf.sample.in', |
| target = '../conf-test/validator.conf', |
| use = 'validator-sample', |
| ANCHORPATH='\"anchors/root.cert\"', |
| name = 'test-logger-conf', |
| source = '../log4cxx.properties.sample.in', |
| target = '../conf-test/log4cxx.properties.sample', |
| unit_tests = bld.program( |
| features='cxx cxxprogram', |
| source=bld.path.ant_glob(['**/*.cpp']), |
| defines='TEST_CONFIG_PATH=\"%s/conf-test\"' %(bld.bldnode) |