Skip to content

Commit 562e0c1

Browse files
committed
openexr: Don't sed in build.sh
Do it in the Dockerfile instead.
1 parent ca7761b commit 562e0c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

projects/openexr/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ RUN apt-get update && apt-get install -y make autoconf automake libtool zlib1g-d
1919
RUN git clone --depth 1 https://github.com/AcademySoftwareFoundation/openexr openexr
2020
WORKDIR openexr
2121
COPY *.sh $SRC/
22+
23+
# The below test is failing in the OSS-Fuzz environment. Patch it out for now.
24+
RUN sed -i "s/TEST (testAttrBytes/\/\/TEST (testAttrBytes/g" $SRC/openexr/src/test/OpenEXRCoreTest/main.cpp

projects/openexr/build.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626

2727
set -x
2828

29-
# The below test is failing in the OSS-Fuzz environment. Patch it out for now.
30-
sed -i "s/TEST (testAttrBytes/\/\/TEST (testAttrBytes/g" $SRC/openexr/src/test/OpenEXRCoreTest/main.cpp
31-
3229
BUILD_DIR=$WORK/_build.oss-fuzz
3330

3431
cmake -S $SRC/openexr -B $BUILD_DIR --preset oss_fuzz

0 commit comments

Comments
 (0)