From dcd01d63696551a601d55958bdf4864b4ebb37d8 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Fri, 17 Jun 2016 22:04:16 +0200 Subject: [PATCH] Deprecate ut_fun as we have ut_str now --- demos/unit_test/tests/test1/wscript_build | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/demos/unit_test/tests/test1/wscript_build b/demos/unit_test/tests/test1/wscript_build index e3ffd328..63e80d93 100644 --- a/demos/unit_test/tests/test1/wscript_build +++ b/demos/unit_test/tests/test1/wscript_build @@ -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' )