aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorLuke Elliott <luke.b.elliott@gmail.com>2021-01-10 11:57:59 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2021-01-12 17:42:57 +0000
commit9efcdba0d59a95d9c5ddd9c32f7870ac2183c5ea (patch)
treec3b39ce46052047687b729e6f569af2d5f47bc56 /run_unittests.py
parent5ff1a3ab25504563f87ac064ce21826cb0b936aa (diff)
downloadmeson-9efcdba0d59a95d9c5ddd9c32f7870ac2183c5ea.zip
meson-9efcdba0d59a95d9c5ddd9c32f7870ac2183c5ea.tar.gz
meson-9efcdba0d59a95d9c5ddd9c32f7870ac2183c5ea.tar.bz2
Allow '//' as project function id due to git bash path conversion.
See https://stackoverflow.com/questions/54258996/git-bash-string-parameter-with-at-start-is-being-expanded-to-a-file-path
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 21b6608..bf6a7ad 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -7918,7 +7918,7 @@ class RewriterTests(BasePlatformTests):
out = self.rewrite(self.builddir, os.path.join(self.builddir, 'info.json'))
expected = {
'kwargs': {
- 'project#/': {'version': '0.0.1', 'license': ['GPL', 'MIT', 'BSD']},
+ 'project#/': {'version': '0.0.1', 'license': ['GPL', 'MIT', 'BSD', 'Boost']},
'target#tgt1': {'build_by_default': True},
'dependency#dep1': {'required': False}
}
@@ -7944,7 +7944,7 @@ class RewriterTests(BasePlatformTests):
out = self.rewrite(self.builddir, os.path.join(self.builddir, 'info.json'))
expected = {
'kwargs': {
- 'project#/': {'version': '0.0.1', 'default_options': ['buildtype=release', 'debug=true']},
+ 'project#/': {'version': '0.0.1', 'default_options': 'debug=true'},
'target#tgt1': {'build_by_default': True},
'dependency#dep1': {'required': False}
}