Repository navigation
Commit 150b9a7
committed
testing: address review feedback on OpenEXR lj2k/zstd compression tests
Raise the local build OpenEXR default to 3.5.0 in build_OpenEXR.cmake,
matching the version already bumped in the build shell script.
Rename the OIIO_OPENEXR_NEW_COMPRESSION environment variable to
OIIO_OPENEXR_LJ2K_ZSTD_SUPPORT, old env variable would have read oddly
once something else lands in a future OpenEXR release.
The lj2k/zstd env var is now added via
set_property(TEST ... APPEND PROPERTY ENVIRONMENT ...) once
OpenEXR_VERSION >= 3.5.0, after both the base and .core test
variants already exist, rather than being threaded through
ENVIRONMENT arguments on a separate set of oiio_add_tests() calls.
Add testsuite/openexr-compression/ref/out-legacy.txt so the test
still passes on OpenEXR < 3.5.0, where lj2k/zstd aren't compiled in.
Signed-off-by: Abhirup Bhattacharyya <abhirup27022001@outlook.com>1 parent 78f21a6 commit 150b9a7
4 files changed
Lines changed: 41 additions & 34 deletions
File tree
- src/cmake
- testsuite/openexr-compression
- ref
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 7 | | |
15 | 8 | | |
16 | 9 | | |
| |||
449 | 442 | | |
450 | 443 | | |
451 | 444 | | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
| 445 | + | |
456 | 446 | | |
457 | 447 | | |
458 | 448 | | |
| |||
471 | 461 | | |
472 | 462 | | |
473 | 463 | | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
| 464 | + | |
485 | 465 | | |
486 | | - | |
487 | 466 | | |
488 | 467 | | |
489 | 468 | | |
490 | 469 | | |
491 | 470 | | |
492 | 471 | | |
493 | 472 | | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
503 | 480 | | |
504 | 481 | | |
505 | 482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments