OLD | NEW |
1 # Gardening Tools | 1 # Gardening Tools |
2 | 2 |
3 This directory is created for gathering all tools doing gardening in one place. | 3 This directory is created for gathering all tools doing gardening in one place. |
4 Every tools or script, big or small should go here, and over time, hopefully | 4 Every tools or script, big or small should go here, and over time, hopefully |
5 we will have useful collection of tools that support every part of the | 5 we will have useful collection of tools that support every part of the |
6 gardening work. | 6 gardening work. |
7 | 7 |
8 The current tools are: | 8 The current tools are: |
9 | 9 |
10 #### compare_failures #### | 10 #### compare_failures #### |
11 Compares the test log of a build step with previous builds. Use this to detect | 11 Compares the test log of a build step with previous builds. Use this to detect |
12 flakiness of failures, especially timeouts. | 12 flakiness of failures, especially timeouts. |
13 | 13 |
14 Usage: | 14 Usage: |
15 | 15 |
16 dart compare_failures.dart <stdio-url> | 16 ```console |
17 | 17 dart bin/compare_failures.dart <stdio-url> |
| 18 ``` |
| 19 |
18 where `<stdio-url>` is a url for a test log (".../logs/stdio") from the | 20 where `<stdio-url>` is a url for a test log (".../logs/stdio") from the |
19 buildbot. | 21 buildbot. |
20 | 22 |
21 #### status_summary #### | 23 #### status_summary #### |
22 Collects the configurations for all status files in the 'tests' folder that | 24 Collects the configurations for all status files in the 'tests' folder that |
23 mention one of the test names given as argument. | 25 mention one of the test names given as argument. |
24 | 26 |
25 Usage: | 27 Usage: |
26 | 28 |
27 dart status_summary.dart <test-name1> [<test-name2> ...] | 29 ```console |
28 | 30 dart bin/status_summary.dart <test-name1> [<test-name2> ...] |
| 31 ``` |
| 32 |
29 where `<test-nameX>` are test names like `language/arithmetic_test`. | 33 where `<test-nameX>` are test names like `language/arithmetic_test`. |
30 | 34 |
31 #### current_summary #### | 35 #### current_summary #### |
32 Collects the test results for all build bots in [buildGroups] for tests | 36 Collects the test results for all build bots in [buildGroups] for tests |
33 that mention one of the test names given as argument. | 37 that mention one of the test names given as argument. |
34 | 38 |
35 Usage: | 39 Usage: |
36 | 40 |
37 dart current_summary.dart <test-name1> [<test-name2> ...] | 41 ```console |
38 | 42 dart bin/current_summary.dart <test-name1> [<test-name2> ...] |
| 43 ``` |
| 44 |
39 where `<test-nameX>` are test names like `language/arithmetic_test`. | 45 where `<test-nameX>` are test names like `language/arithmetic_test`. |
40 | 46 |
41 The results are currently pulled from the second to last build since the | 47 The results are currently pulled from the second to last build since the |
42 last build might not have completed yet. | 48 last build might not have completed yet. |
OLD | NEW |