aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py9
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: