Commit c04347c
committed
COMP: Honor SIMPLNX_TEST_ALGORITHM_PATH=Both in in-core builds
The in-core build previously forced SIMPLNX_TEST_ALGORITHM_PATH to InCoreOnly
whenever SIMPLNX_USE_OOC was OFF, on the assumption that no out-of-core paths
exist to test. That is no longer true: the Direct/Scanline dispatch classes
are always compiled into the plugins, and forcing the Scanline (OOC) path runs
it against in-core data via copyIntoBuffer (a plain std::copy here), staying
fast while verifying the OOC algorithm matches the in-core result.
* Only coerce the nonsensical OocOnly (1) to InCoreOnly (2) when OOC is off
* Allow Both (0) so a single in-core build can validate both algorithm paths
Signed-off-by: Joey Kleingers <joey.kleingers@bluequartz.net>1 parent ddc1d5b commit c04347c
1 file changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
| |||
0 commit comments