Perf dashboard can't merge when the destination platform is missing baseline/target
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Dec 2015 02:59:36 +0000 (02:59 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Dec 2015 02:59:36 +0000 (02:59 +0000)
commit68c92398712a0ee75fdddd5f824f06d9229cbca3
tree279f84d993faa1c621ce3686e7825cce7c0f8269
parentdd6fdb1f904f540c3c5347d92e7bfb8d3bc87c3b
Perf dashboard can't merge when the destination platform is missing baseline/target
https://bugs.webkit.org/show_bug.cgi?id=152286

Reviewed by Stephanie Lewis.

The bug was caused by the query to migrate test configurations to new platform checking
configuration type and metric separately; that is, it assumes the configuration exists
only if either the same type or the same metric exists in the destination.

Fixed the bug by checking both conditions simultaneously for each configuration.

* public/admin/platforms.php:
* tests/admin-platforms.js: Added a test.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/admin/platforms.php
Websites/perf.webkit.org/tests/admin-platforms.js