Skip to content

Tests: Avoid duplicate rules in ExternalData test

Brad King requested to merge brad.king/cmake:test-ExternalData-dedup into master

In commit f9973166 we added a test case for repeating the same data file reference in three different targets in the same directory in order to exercise its corresponding fix. However, we re-used the top-level Data.dat file which is already produced by an unrelated test case. ninja diagnoses the duplicate rule.

Update the test to use a dedicated data file name for the three-times repeated case to avoid this conflict. It still covers the original purpose of the test.

Edited by Brad King

Merge request reports