aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-03-09 23:57:14 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-03-09 23:57:14 +0200
commitf4b49734e5300079cddbc5a6c5f40f937fa72357 (patch)
tree8b5b482d54876c1625982ae27465281790f8cd9f
parentf010ec624c4790c78aaa2f61536575b5ca1ab5a9 (diff)
downloadmeson-f4b49734e5300079cddbc5a6c5f40f937fa72357.zip
meson-f4b49734e5300079cddbc5a6c5f40f937fa72357.tar.gz
meson-f4b49734e5300079cddbc5a6c5f40f937fa72357.tar.bz2
Make sure build is up to date before running tests.
-rwxr-xr-xbackends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends.py b/backends.py
index 69855fc..73936f6 100755
--- a/backends.py
+++ b/backends.py
@@ -360,7 +360,7 @@ class NinjaBackend(Backend):
script_root = self.environment.get_script_dir()
test_script = os.path.join(script_root, 'meson_test.py')
test_data = os.path.join(self.environment.get_scratch_dir(), 'meson_test_setup.dat')
- elem = NinjaBuildElement('test', 'CUSTOM_COMMAND', '')
+ elem = NinjaBuildElement('test', 'CUSTOM_COMMAND', 'all')
elem.add_item('COMMAND', [sys.executable, test_script, test_data])
elem.add_item('DESC', 'Running test suite.')
elem.write(outfile)