Commit 2508f98
committed
tests: ignore consecutive duplicates in lib check.
In some instances (e.g. building the CMake configuration in debug mode
with the nightly rustc) the `--print native-static-libs` output of
`cargo build` can include many repeating instances of a lib.
While the order and duplicates are generally expected to be meaningful,
many consecutive duplicates are not.
This commit updates the `verify-static-libraries.py` script to collapse
consecutive duplicates before doing the check of expected vs actual.1 parent b5fc7d1 commit 2508f98
1 file changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
12 | 20 | | |
13 | 21 | | |
14 | 22 | | |
| |||
20 | 28 | | |
21 | 29 | | |
22 | 30 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| |||
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
42 | | - | |
| 49 | + | |
| 50 | + | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
| |||
0 commit comments