| OLD | NEW |
| 1 # Running layout tests on Linux | 1 # Running layout tests on Linux |
| 2 | 2 |
| 3 1. Build `blink_tests` (see [Linux-specific build instructions](https://chromiu
m.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md)) | 3 1. Build `blink_tests` (see [Linux-specific build instructions](https://chromiu
m.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md)) |
| 4 1. Checkout the layout tests | 4 1. Checkout the layout tests |
| 5 * If you have an entry in your `.gclient` file that includes | 5 * If you have an entry in your `.gclient` file that includes |
| 6 "LayoutTests", you may need to comment it out and sync. | 6 "LayoutTests", you may need to comment it out and sync. |
| 7 * You can run a subset of the tests by passing in a path relative to | 7 * You can run a subset of the tests by passing in a path relative to |
| 8 `src/third_party/WebKit/LayoutTests/`. For example, | 8 `src/third_party/WebKit/LayoutTests/`. For example, |
| 9 `run_layout_tests.py fast` will only run the tests under | 9 `run_layout_tests.py fast` will only run the tests under |
| 10 `src/third_party/WebKit/LayoutTests/fast/`. | 10 `src/third_party/WebKit/LayoutTests/fast/`. |
| 11 1. When the tests finish, any unexpected results should be displayed. | 11 1. When the tests finish, any unexpected results should be displayed. |
| 12 | 12 |
| 13 See | 13 See |
| 14 [Running WebKit Layout Tests](http://dev.chromium.org/developers/testing/webkit-
layout-tests) | 14 [Running WebKit Layout Tests](http://dev.chromium.org/developers/testing/webkit-
layout-tests) |
| 15 for full documentation about set up and available options. | 15 for full documentation about set up and available options. |
| 16 | 16 |
| 17 ## Pixel Tests | 17 ## Pixel Tests |
| 18 | 18 |
| 19 The pixel test results were generated on Ubuntu 10.4 (Lucid). If you're running | 19 The pixel test results were generated on Ubuntu 10.4 (Lucid). If you're running |
| 20 a newer version of Ubuntu, you will get some pixel test failures due to changes | 20 a newer version of Ubuntu, you will get some pixel test failures due to changes |
| 21 in freetype or fonts. In this case, you can create a Lucid 64 chroot using | 21 in freetype or fonts. In this case, you can create a Lucid 64 chroot using |
| 22 `build/install-chroot.sh` to compile and run tests. | 22 `build/install-chroot.sh` to compile and run tests. |
| 23 | 23 |
| 24 ## Fonts | 24 ## Fonts |
| 25 | 25 |
| 26 Make sure you have all the necessary fonts installed. | 26 Make sure you have all the necessary fonts installed. |
| 27 | 27 |
| 28 ```shell | 28 ```shell |
| 29 sudo apt-get install apache2 wdiff php5-cgi ttf-indic-fonts \ | 29 sudo apt-get install apache2 wdiff php5-cgi ttf-indic-fonts \ |
| 30 msttcorefonts ttf-dejavu-core fonts-ipafont \ | 30 msttcorefonts ttf-dejavu-core ttf-kochi-gothic ttf-kochi-mincho \ |
| 31 ttf-thai-tlwg | 31 ttf-thai-tlwg |
| 32 ``` | 32 ``` |
| 33 | 33 |
| 34 You can also just run `build/install-build-deps.sh` again. | 34 You can also just run `build/install-build-deps.sh` again. |
| 35 | 35 |
| 36 ## Plugins | 36 ## Plugins |
| 37 | 37 |
| 38 If `fast/dom/object-plugin-hides-properties.html` and | 38 If `fast/dom/object-plugin-hides-properties.html` and |
| 39 `plugins/embed-attributes-style.html` are failing, try uninstalling | 39 `plugins/embed-attributes-style.html` are failing, try uninstalling |
| 40 `totem-mozilla` from your system: | 40 `totem-mozilla` from your system: |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 In your `.xmonad/xmonad.hs`, change your config to include a manageHook along | 129 In your `.xmonad/xmonad.hs`, change your config to include a manageHook along |
| 130 these lines: | 130 these lines: |
| 131 | 131 |
| 132 ``` | 132 ``` |
| 133 test_shell_manage = className =? "Test_shell" --> doFloat | 133 test_shell_manage = className =? "Test_shell" --> doFloat |
| 134 main = xmonad $ | 134 main = xmonad $ |
| 135 defaultConfig | 135 defaultConfig |
| 136 { manageHook = test_shell_manage <+> manageHook defaultConfig | 136 { manageHook = test_shell_manage <+> manageHook defaultConfig |
| 137 ... | 137 ... |
| 138 ``` | 138 ``` |
| OLD | NEW |