summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-25 20:15:08 +0000
committerDavid Robillard <d@drobilla.net>2013-12-25 20:15:08 +0000
commite9c8956343731cd18ac1dacb84510d2e8f0c338e (patch)
tree05c91fb875bfc3e0221b73b9079de3e94c890295
parentb2de8180bcff49e450bd2e1affeb4b3cefaecd9e (diff)
downloadlilv-e9c8956343731cd18ac1dacb84510d2e8f0c338e.tar.gz
lilv-e9c8956343731cd18ac1dacb84510d2e8f0c338e.tar.bz2
lilv-e9c8956343731cd18ac1dacb84510d2e8f0c338e.zip
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
-rw-r--r--wscript4
1 files 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'):