Commit 9e2fef1
committed
Pass --smoke to all ctest tests uniformly
Functional tests don't currently read --smoke (most use `int main()`
with no args, the rest UNUSED(argc, argv)) so passing it is a silent
no-op. But there's no reason to gate the flag on TEST_CATEGORY:
keeping the perf/non-perf split forces every future test that wants
a smoke mode to also touch CMake.
Collapse the four-arm add_test() block into two arms (release vs
not), each unconditionally appending --smoke. Any test that wants to
honour it just reads the flag; any test that doesn't, ignores it.1 parent e0ce189 commit 9e2fef1
1 file changed
Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
| 571 | + | |
| 572 | + | |
578 | 573 | | |
579 | 574 | | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
| 575 | + | |
585 | 576 | | |
586 | 577 | | |
587 | 578 | | |
| |||
0 commit comments