RESOLVED FIXED 62241
rebaseline-chromium-webkit-tests: fix baselining order for linux, linux_x86_64
https://bugs.webkit.org/show_bug.cgi?id=62241
Summary rebaseline-chromium-webkit-tests: fix baselining order for linux, linux_x86_64
Dirk Pranke
Reported 2011-06-07 15:32:12 PDT
rebaseline-chromium-webkit-tests: fix baselining order for linux, linux_x86_64
Attachments
Patch (1.38 KB, patch)
2011-06-07 15:33 PDT, Dirk Pranke
no flags
Dirk Pranke
Comment 1 2011-06-07 15:33:54 PDT
Dirk Pranke
Comment 2 2011-06-07 15:35:29 PDT
When we made the 64-bit port the "generic" chromium-linux port, we forgot to switch the ordering of the ports in port.ALL_BASELINE_VARIANTS, which is used by rebaseline-chromium-webkit-tests to figure out which baselines to pull in which order. Without this change, we'd end up generating duplicate baselines for both linux variants and they wouldn't get deduped.
Tony Chang
Comment 3 2011-06-07 15:36:28 PDT
Comment on attachment 96315 [details] Patch Can we write a test for this?
Dirk Pranke
Comment 4 2011-06-07 15:45:26 PDT
(In reply to comment #3) > (From update of attachment 96315 [details]) > Can we write a test for this? It depends. what would you want to test? The _unittest file does test that, for example, if the Vista dir duplicates the Win dir, then deduping works, so there is already a test for the deduping logic by itself. But, if you wanted to test that the linux 32 port was deduped into the base linux port, all it would be testing was that the ports were listed in the right order in the same constant, creating another place to update if we change the order.
Tony Chang
Comment 5 2011-06-07 15:55:38 PDT
(In reply to comment #4) > But, if you wanted to test that the linux 32 port was deduped into the base linux port, all it would be testing was that the ports were listed in the right order in the same constant, creating another place to update if we change the order. Yes, I think that would be valuable.
Dirk Pranke
Comment 6 2011-06-07 16:20:10 PDT
(In reply to comment #5) > (In reply to comment #4) > > But, if you wanted to test that the linux 32 port was deduped into the base linux port, all it would be testing was that the ports were listed in the right order in the same constant, creating another place to update if we change the order. > > Yes, I think that would be valuable. Well, you would have had to know to change the test and change the list when you made your actual change. Since you missed the one place, you probably would've missed the other, so I don't think the test would've actually caught anything. More generally, if you wanted to test this particular case, presumably you'd test that all of the other deduping works as you'd expect (e.g., xp dups vista, etc.). That seems like a lot of work for little reward.
Dirk Pranke
Comment 7 2011-06-07 16:22:02 PDT
Comment on attachment 96315 [details] Patch Clearing flags on attachment: 96315 Committed r88281: <http://trac.webkit.org/changeset/88281>
Dirk Pranke
Comment 8 2011-06-07 16:22:05 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.