2
0
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:
Thomas Nagy 2016-06-17 22:04:16 +02:00
parent 764645a014
commit dcd01d6369
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -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'
)