Repository navigation
Commit cde1096
committed
ts: remove fixtures left behind when quick mode skips a testfile
The skip_if_quick_mode procedure returns out of the current testfile, so
the cleanup block at its end is not reached. Testfiles creating a
fixture directory before this skip point and removing it in this block
leave it behind under the testsuite directory after a quick mode run.
This is the case of 180-modulepath-ignore.exp and
060-cachebuild-ignore.exp.
Accept fixture paths as arguments of skip_if_quick_mode to remove them
when tests are skipped, and pass the directory both testfiles need
after the skip point. This avoids duplicating their fixture creation
block around the skip.
Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>1 parent 31741fc commit cde1096
3 files changed
Lines changed: 6 additions & 4 deletions
File tree
- testsuite
- config
- modules.20-locate
- modules.30-cache
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1390 | 1390 | | |
1391 | 1391 | | |
1392 | 1392 | | |
1393 | | - | |
1394 | | - | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
1395 | 1396 | | |
1396 | 1397 | | |
| 1398 | + | |
1397 | 1399 | | |
1398 | 1400 | | |
1399 | 1401 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments