| 116 | |
| 117 | === Generating rebaselines into a specific platform path === |
| 118 | |
| 119 | It may be desired to generate results using a given platform and expect it to be the same in some variations of that same platform, like in Qt which have qt-5.0-wk1, qt-5.0-wk2, and so many other options. The following line would run tests using Qt5 and WK2 but instead of placing the results onto that specific folder, it'll place the results into qt-5.0-wk1 folder: |
| 120 | {{{ |
| 121 | % run-webkit-tests --qt -2 LayoutTests/canvas --new-baseline --add-platform-exceptions --additional-platform-directory=/opt/git/webkit/LayoutTests/platform/qt-5.0-wk1 |
| 122 | }}} |
| 123 | |
| 124 | The trick is to use '''--new-baseline''' so you will replace any existing results for the new ones you generate, and then specifying the platform directory with flags '''--add-platform-exceptions''' and '''--additional-platform-directory'''. |