diff --git a/projects/openexr/Dockerfile b/projects/openexr/Dockerfile index e64bb6660f14..2ca78a743b25 100644 --- a/projects/openexr/Dockerfile +++ b/projects/openexr/Dockerfile @@ -19,3 +19,6 @@ RUN apt-get update && apt-get install -y make autoconf automake libtool zlib1g-d RUN git clone --depth 1 https://github.com/AcademySoftwareFoundation/openexr openexr WORKDIR openexr COPY *.sh $SRC/ + +# The below test is failing in the OSS-Fuzz environment. Patch it out for now. +RUN sed -i "s/TEST (testAttrBytes/\/\/TEST (testAttrBytes/g" $SRC/openexr/src/test/OpenEXRCoreTest/main.cpp diff --git a/projects/openexr/build.sh b/projects/openexr/build.sh index 0da8c515d652..ff471a15a4b1 100755 --- a/projects/openexr/build.sh +++ b/projects/openexr/build.sh @@ -26,9 +26,6 @@ set -x -# The below test is failing in the OSS-Fuzz environment. Patch it out for now. -sed -i "s/TEST (testAttrBytes/\/\/TEST (testAttrBytes/g" $SRC/openexr/src/test/OpenEXRCoreTest/main.cpp - BUILD_DIR=$WORK/_build.oss-fuzz cmake -S $SRC/openexr -B $BUILD_DIR --preset oss_fuzz