diff options
author | Aleksey Filippov <alekseyf@google.com> | 2018-03-15 22:50:53 +0000 |
---|---|---|
committer | Aleksey Filippov <alekseyf@google.com> | 2018-04-16 22:51:34 +0100 |
commit | f4ea6ac454139a8076cead4dde773dd8e27801a2 (patch) | |
tree | dd1dfb72dfcb028dcbbf5e20057e9436324a7744 /run_unittests.py | |
parent | cb761718f0fad4a6ee6396149d03c5b6b1586f44 (diff) | |
download | meson-f4ea6ac454139a8076cead4dde773dd8e27801a2.zip meson-f4ea6ac454139a8076cead4dde773dd8e27801a2.tar.gz meson-f4ea6ac454139a8076cead4dde773dd8e27801a2.tar.bz2 |
Add '189 same target name flat layout' test
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index 4ed75ea..775fd31 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -1917,6 +1917,15 @@ int main(int argc, char **argv) { self.init(testdir, extra_args=['--layout=flat']) self.build() + def test_identical_target_name_in_subdir_flat_layout(self): + ''' + Test that identical targets in different subdirs do not collide + if layout is flat. + ''' + testdir = os.path.join(self.common_test_dir, '189 same target name flat layout') + self.init(testdir, extra_args=['--layout=flat']) + self.build() + def test_flock(self): exception_raised = False with tempfile.TemporaryDirectory() as tdir: |