aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-04-08 11:20:33 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-04-09 23:11:36 +0530
commit36e8291a6ab0b9bd6451f582885e94dd8432cccc (patch)
tree4e975da245f1daefe8c8645b80bb7230eebc606f
parent4f0d42967e9f672ba4f2bbb5b9eea063490b545c (diff)
downloadmeson-36e8291a6ab0b9bd6451f582885e94dd8432cccc.zip
meson-36e8291a6ab0b9bd6451f582885e94dd8432cccc.tar.gz
meson-36e8291a6ab0b9bd6451f582885e94dd8432cccc.tar.bz2
unit tests: Run another linuxlike test on all platforms
-rwxr-xr-xrun_unittests.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 6485797..4599b2b 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -968,6 +968,15 @@ class AllPlatformTests(BasePlatformTests):
os.environ['CFLAGS'] = '-DMESON_FAIL_VALUE=cflags-read'.format(define)
self.init(testdir, ['-D{}={}'.format(define, value)])
+ def test_custom_target_exe_data_deterministic(self):
+ testdir = os.path.join(self.common_test_dir, '117 custom target capture')
+ self.init(testdir)
+ meson_exe_dat1 = glob(os.path.join(self.privatedir, 'meson_exe*.dat'))
+ self.wipe()
+ self.init(testdir)
+ meson_exe_dat2 = glob(os.path.join(self.privatedir, 'meson_exe*.dat'))
+ self.assertListEqual(meson_exe_dat1, meson_exe_dat2)
+
class WindowsTests(BasePlatformTests):
'''
@@ -1235,15 +1244,6 @@ class LinuxlikeTests(BasePlatformTests):
Oargs = [arg for arg in cmd if arg.startswith('-O')]
self.assertEqual(Oargs, [Oflag, '-O0'])
- def test_custom_target_exe_data_deterministic(self):
- testdir = os.path.join(self.common_test_dir, '117 custom target capture')
- self.init(testdir)
- meson_exe_dat1 = glob(os.path.join(self.privatedir, 'meson_exe*.dat'))
- self.wipe()
- self.init(testdir)
- meson_exe_dat2 = glob(os.path.join(self.privatedir, 'meson_exe*.dat'))
- self.assertListEqual(meson_exe_dat1, meson_exe_dat2)
-
def _test_stds_impl(self, testdir, compiler, p):
lang_std = p + '_std'
# Check that all the listed -std=xxx options for this compiler work