aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-10-05 23:39:07 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-12-17 21:19:22 +0200
commit164fb9a150d2a210aee7fa66d0e06ed475c4bdd8 (patch)
tree8af07ed64e5a77e0fbba084b5b1a0a4577bbddb1 /run_unittests.py
parent5b9d79b9029f1a9be897188c6ffbdce65d4e510b (diff)
downloadmeson-164fb9a150d2a210aee7fa66d0e06ed475c4bdd8.zip
meson-164fb9a150d2a210aee7fa66d0e06ed475c4bdd8.tar.gz
meson-164fb9a150d2a210aee7fa66d0e06ed475c4bdd8.tar.bz2
Also promote wrap files.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index f742624..d5dc36e 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -1661,6 +1661,10 @@ int main(int argc, char **argv) {
self.assertFalse(os.path.isdir(scommondir))
subprocess.check_call(self.wrap_command + ['promote', 'subprojects/s2/subprojects/scommon'], cwd=workdir)
self.assertTrue(os.path.isdir(scommondir))
+ promoted_wrap = os.path.join(spdir, 'athing.wrap')
+ self.assertFalse(os.path.isfile(promoted_wrap))
+ subprocess.check_call(self.wrap_command + ['promote', 'athing'], cwd=workdir)
+ self.assertTrue(os.path.isfile(promoted_wrap))
self.init(workdir)
self.build()