mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 01:46:15 +01:00
Deprecate ut_fun as we have ut_str now
This commit is contained in:
parent
764645a014
commit
dcd01d6369
@ -1,17 +1,10 @@
|
||||
#! /usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
|
||||
def fun(task):
|
||||
#print task.generator.bld.name_to_obj('somelib').link_task.outputs[0].abspath(task.env)
|
||||
task.ut_exec.append('--help')
|
||||
|
||||
bld(
|
||||
features = 'cxx cxxprogram test',
|
||||
source = 'AccumulatorTest.cpp',
|
||||
target = 'unit_test_program',
|
||||
use = 'unittestmain useless CPPUNIT',
|
||||
ut_cwd = bld.path.abspath(),
|
||||
ut_fun = fun
|
||||
use = 'unittestmain useless CPPUNIT'
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user