Commit dd17f5b
authored
Do not use SelingerProfileSipsMetric if no profile available (#2517)
* Add regression test for issue 2426.
* Do not use SelingerProfileSipsMetric if no profile available.
There is a bug #2426, which causes an assertion in the
SelingerProfileSipsMetric::getReordering.
Rther than fixing the problem I decided to work-around it for
the time being, until we have a proper fix.
We can work around this problem in one of two ways:
1. don't assert and just don't reorder atoms (this should be fine)
2. don't create the metric in the first place, if there is no profile
I decided to use #2 as that seems to be the safer option.
I added code for a warning, but disabled it because it is incompatible
with the ctest suite.
* Disable checking stderr output for scheduler tests.
Printing the warning about --auto-schedule not
being enabled causes a problem with tests.
For now, just disable checking of stderr outputs in the
test. We're still checking for other outputs.1 parent 4d0dd31 commit dd17f5b
6 files changed
Lines changed: 25 additions & 9 deletions
File tree
- src/ast2ram/utility
- tests/scheduler
- bug2426
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | | - | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
315 | 323 | | |
316 | 324 | | |
317 | 325 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 45 | | |
53 | 46 | | |
54 | 47 | | |
| |||
94 | 87 | | |
95 | 88 | | |
96 | 89 | | |
| 90 | + | |
97 | 91 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments