Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Walther2021-10-29 11:24:59 +0000
committerChristian Walther2021-11-02 09:40:32 +0000
commit32a6ad1f4d444218050b3b6b5a841641125fd170 (patch)
treea170ec754b31109a66338d36e53c02c6d0006cda /build/org.eclipse.cdt.managedbuilder.core.tests/resources/test40Projects/test_40/Benchmarks/dbg 2
parenta957e8121df1937ae27243389bb7286fcd933c6b (diff)
downloadorg.eclipse.cdt-32a6ad1f4d444218050b3b6b5a841641125fd170.tar.gz
org.eclipse.cdt-32a6ad1f4d444218050b3b6b5a841641125fd170.tar.xz
org.eclipse.cdt-32a6ad1f4d444218050b3b6b5a841641125fd170.zip
Bug 575702: Nondeterministic makefile ordering (prelude)
This fixes a small and rarely hit in practice regression regarding nondeterministic ordering in makefile output introduced in 15c29eb (bug 505882). Multiple values for a build output variable were previously output in definition order. Now they are generated by iterating over a HashSet, which does not have a deterministic iteration order. Use a TreeSet for output in a consistently sorted order instead. Output variables with multiple values are rare (most tools generate one output file of a particular type) and this case was not exercised in the existing unit tests. Modify one such that it does (even if in a somewhat contrived situation). Of note, ${OUTPUT} cannot be used in the commandLinePattern for such a tool because it squashes the multiple values into a single quoted file name - misuse ${FLAGS} instead. Change-Id: Iaa28525c21d74c87dd4d72a03e334ed0e5576727 Signed-off-by: Christian Walther <walther@indel.ch>
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.core.tests/resources/test40Projects/test_40/Benchmarks/dbg 2')
0 files changed, 0 insertions, 0 deletions

Back to the top