-
-
Notifications
You must be signed in to change notification settings - Fork 424
Commit cca6936
Fix library priority selection on some convoluted cases (#565)
* Added test for new use cases
* Moved PriorityForArchitecture in librariesresolver
The method is used only in library resolver, there is not point in
having it as method of Library.
Removed also the unused SortByArchitecturePriority method.
* Fixed library priority selection
* Added another fix and test for lib priority1 parent fc9b70b commit cca6936
File tree
4 files changed
+60
-44
lines changed- arduino/libraries
- librariesresolver
4 files changed
+60
-44
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 | - | ||
20 | - | ||
21 | 19 |
| |
22 | 20 |
| |
23 | 21 |
| |
| |||
118 | 116 |
| |
119 | 117 |
| |
120 | 118 |
| |
121 | - | ||
122 | - | ||
123 | - | ||
124 | - | ||
125 | - | ||
126 | - | ||
127 | - | ||
128 | - | ||
129 | - | ||
130 | - | ||
131 | - | ||
132 | - | ||
133 | - | ||
134 | - | ||
135 | - | ||
136 | - | ||
137 | - | ||
138 | - | ||
139 | - | ||
140 | - | ||
141 | - | ||
142 | - | ||
143 | - | ||
144 | - | ||
145 | - | ||
146 | - | ||
147 | - | ||
148 | 119 |
| |
149 | 120 |
| |
150 | 121 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 | - | ||
54 | - | ||
55 | - | ||
56 | - | ||
57 | - | ||
58 | - | ||
59 | - | ||
60 | - | ||
61 | - | ||
62 | 53 |
| |
63 | 54 |
| |
64 | 55 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
127 | - | ||
127 | + | ||
128 | + | ||
129 | + | ||
130 | + | ||
131 | + | ||
132 | + | ||
133 | + | ||
134 | + | ||
135 | + | ||
136 | + | ||
137 | + | ||
138 | + | ||
139 | + | ||
140 | + | ||
141 | + | ||
142 | + | ||
143 | + | ||
144 | + | ||
145 | + | ||
146 | + | ||
128 | 147 |
| |
129 | - | ||
148 | + | ||
130 | 149 |
| |
131 | - | ||
150 | + | ||
132 | 151 |
| |
133 | - | ||
152 | + | ||
134 | 153 |
| |
135 | - | ||
154 | + | ||
136 | 155 |
| |
137 | - | ||
156 | + | ||
138 | 157 |
| |
139 | 158 |
| |
140 | 159 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | + | ||
33 | + | ||
34 | + | ||
35 | + | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
32 | 67 |
| |
33 | 68 |
| |
34 | 69 |
| |
|
0 commit comments