From e9c8956343731cd18ac1dacb84510d2e8f0c338e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 25 Dec 2013 20:15:08 +0000 Subject: Load waf modules before everything else so CFLAGS and friends are correct (oops). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5204 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 27fb9a8..5bc3829 100644 --- a/wscript +++ b/wscript @@ -394,9 +394,9 @@ def upload_docs(ctx): # Inherit from build context so we can get the config data class TestContext(Build.BuildContext): cmd = 'test' - fun = 'test_function' + fun = 'test' -def test_function(ctx): +def test(ctx): assert ctx.env.BUILD_TESTS, "You have run waf configure without the --test flag. No tests were run." autowaf.pre_test(ctx, APPNAME) if ctx.is_defined('LILV_PYTHON'): -- cgit v1.2.1