| OLD | NEW |
| 1 Correctness Testing | 1 Correctness Testing |
| 2 =================== | 2 =================== |
| 3 | 3 |
| 4 Skia correctness testing is primarily served by a tool named DM. | 4 Skia correctness testing is primarily served by a tool named DM. |
| 5 This is a quickstart to building and running DM. | 5 This is a quickstart to building and running DM. |
| 6 | 6 |
| 7 ~~~ | 7 ~~~ |
| 8 $ ./gyp_skia | 8 $ ./gyp_skia |
| 9 $ ninja -C out/Debug dm | 9 $ ninja -C out/Debug dm |
| 10 $ out/Debug/dm -v -w dm_output | 10 $ out/Debug/dm -v -w dm_output |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 That's the basics of DM. DM supports many other modes and flags. Here are a | 172 That's the basics of DM. DM supports many other modes and flags. Here are a |
| 173 few examples you might find handy. | 173 few examples you might find handy. |
| 174 ~~~ | 174 ~~~ |
| 175 $ out/Debug/dm --help # Print all flags, their defaults, and a brief expl
anation of each. | 175 $ out/Debug/dm --help # Print all flags, their defaults, and a brief expl
anation of each. |
| 176 $ out/Debug/dm --src tests # Run only unit tests. | 176 $ out/Debug/dm --src tests # Run only unit tests. |
| 177 $ out/Debug/dm --nocpu # Test only GPU-backed work. | 177 $ out/Debug/dm --nocpu # Test only GPU-backed work. |
| 178 $ out/Debug/dm --nogpu # Test only CPU-backed work. | 178 $ out/Debug/dm --nogpu # Test only CPU-backed work. |
| 179 $ out/Debug/dm --match blur # Run only work with "blur" in its name. | 179 $ out/Debug/dm --match blur # Run only work with "blur" in its name. |
| 180 $ out/Debug/dm --dryRun # Don't really do anything, just print out what we'
d do. | 180 $ out/Debug/dm --dryRun # Don't really do anything, just print out what we'
d do. |
| 181 ~~~ | 181 ~~~ |
| OLD | NEW |