From 3abf4a591069724d1eb939cfa4db74338093a011 Mon Sep 17 00:00:00 2001 From: Craig Dowell Date: Tue, 6 Oct 2009 22:54:24 -0700 Subject: [PATCH] convince waf to run test.py on check command --- wscript | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 6c95f99ce..d299625be 100644 --- a/wscript +++ b/wscript @@ -640,8 +640,10 @@ def shutdown(ctx): check_context = Build.BuildContext def check(bld): - """run the NS-3 unit tests (deprecated in favour of test.py)""" - raise Utils.WafError("Please run `./test.py' now, instead of './waf check'") + """run the equivalent of the old ns-3 unit tests using test.py""" + bld = wutils.bld + env = bld.env + wutils.run_python_program("test.py -c core", env) class print_introspected_doxygen_task(Task.TaskBase):