diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-01-26 18:37:34 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-01-28 01:05:19 +0530 |
commit | 4677f37366b2b57053e065d9bb188191dddfa5e9 (patch) | |
tree | 320575107fcc812053cbd55f9e5f6c390075bf9a /run_unittests.py | |
parent | 01547e8c613dfcdef6e38802b384df4eddaf062c (diff) | |
download | meson-4677f37366b2b57053e065d9bb188191dddfa5e9.zip meson-4677f37366b2b57053e065d9bb188191dddfa5e9.tar.gz meson-4677f37366b2b57053e065d9bb188191dddfa5e9.tar.bz2 |
tests: Move build-by-default unit test to common tests
Also add a test() that can be run on all platforms.
Currently unit tests are only run on Linux, so this was only testing the
Ninja backend. This change reveals that build-by-default was broken with
the Visual Studio backend.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py index 5eba222..809dd5c 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -566,7 +566,7 @@ class LinuxlikeTests(unittest.TestCase): self._test_stds_impl(testdir, cpp, 'cpp') def test_build_by_default(self): - testdir = os.path.join(self.unit_test_dir, '5 build by default') + testdir = os.path.join(self.common_test_dir, '137 build by default') self.init(testdir) self.build() genfile = os.path.join(self.builddir, 'generated.dat') |