Skip to content

IBA::channels (oiiotool --ch) fix: no shuffle makes it forget renaming#1326

Merged
lgritz merged 2 commits intoAcademySoftwareFoundation:masterfrom
lgritz:lg-ch
Jan 25, 2016
Merged

IBA::channels (oiiotool --ch) fix: no shuffle makes it forget renaming#1326
lgritz merged 2 commits intoAcademySoftwareFoundation:masterfrom
lgritz:lg-ch

Conversation

@lgritz
Copy link
Collaborator

@lgritz lgritz commented Jan 22, 2016

When IBA::channels() detected that the channel ordering didn't change,
it took an "early out" rather than shuffle data needlessly, but in the
process failed to notice any channel renaming that was requested as part
of the call.

The old way was that when CMake runs for the first time (when it builds
your make or ninja files), it copies everything from testsuite/ into
build/PLATFORM/testsuite/, and then when you run tests, it uses all the
info (source images, scripts, and reference output) in the build area.

That was fine usually, but if you were developing or modifying a test
itself, it was a big PITA, because changing something in
testsuite/mytest would not be reflected in the
build/PLATFORM/testsuite/mytest that had already been copied. It was the
source of many frustrations and errors. And beware modifying something
in the build area and then blowing it away, not remembering to copy it
to the source testsuite/ area.

This overhaul NO LONGER COPIES source data or reference output to build at
all. Instead, a combination of links and references to the canonical files
are used to make the build area only the temporary location of test output
itself. This sure does make everything easier.
@lgritz lgritz force-pushed the lg-ch branch 2 times, most recently from ab03cbc to 52f0cc0 Compare January 23, 2016 22:55
When IBA::channels() detected that the channel ordering didn't change,
it took an "early out" rather than shuffle data needlessly, but in the
process failed to notice any channel renaming that was requested as part
of the call.
@lgritz lgritz merged commit 66ddcc9 into AcademySoftwareFoundation:master Jan 25, 2016
@lgritz lgritz deleted the lg-ch branch January 25, 2016 17:22
GerHobbelt pushed a commit to GerHobbelt/oiio that referenced this pull request Dec 10, 2024
* Fix: broken doc links

Signed-off-by: kanak gautam <kanakgautam5@gmail.com>

* replace export -> include

Signed-off-by: kanak gautam <kanakgautam5@gmail.com>

Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant