diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-03-01 22:05:19 -0500 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-03-18 08:41:21 -0400 |
commit | 3990754bf55727ef5593769b48f0a03c6b7a3671 (patch) | |
tree | b00148182600db24bd01b0041de5274b15437433 /run_unittests.py | |
parent | 848e360450c397f1dcfc4d8d3f614df05806699a (diff) | |
download | meson-3990754bf55727ef5593769b48f0a03c6b7a3671.zip meson-3990754bf55727ef5593769b48f0a03c6b7a3671.tar.gz meson-3990754bf55727ef5593769b48f0a03c6b7a3671.tar.bz2 |
Allow add_dist_script() in subprojects
Fixes: #8440.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index 03e931a..82689be 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -3189,6 +3189,10 @@ class AllPlatformTests(BasePlatformTests): _git_init(project_dir) self.init(project_dir) self.build('dist') + + self.new_builddir() + self.init(project_dir, extra_args=['-Dsub:broken_dist_script=false']) + self._run(self.meson_command + ['dist', '--include-subprojects'], workdir=self.builddir) except PermissionError: # When run under Windows CI, something (virus scanner?) # holds on to the git files so cleaning up the dir |