[qt] Test qtsvg (#4012)

This commit is contained in:
Robert Löhning 2020-06-19 16:53:57 +02:00 committed by GitHub
parent 058247f3d3
commit 9fd351cb1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ RUN apt-get update && apt-get install -y libc6-dev:i386
RUN git clone --branch 5.15 --depth 1 git://code.qt.io/qt/qt5.git qt
WORKDIR qt
RUN git submodule update --init --depth 1 qtbase
RUN git submodule update --init --depth 1 qtsvg
WORKDIR $SRC
RUN git clone --depth 1 git://code.qt.io/qt/qtqa.git
RUN git clone --depth 1 https://github.com/google/AFL.git

View File

@ -38,6 +38,7 @@ zip -j $WORK/html $SRC/qtqa/fuzzing/testcases/html/*
zip -j $WORK/images $SRC/qtqa/fuzzing/testcases/svg/* $SRC/AFL/testcases/images/*/*
zip -j $WORK/markdown $SRC/qtqa/fuzzing/testcases/markdown/*
zip -j $WORK/ssl.pem.zip $SRC/qtqa/fuzzing/testcases/ssl.pem/*
zip -j $WORK/svg $SRC/qtqa/fuzzing/testcases/svg/*
zip -j $WORK/text $SRC/qtqa/fuzzing/testcases/text/* $SRC/AFL/testcases/others/text/*
zip -j $WORK/xml $SRC/qtqa/fuzzing/testcases/xml/* $SRC/AFL/testcases/others/xml/*
@ -92,3 +93,4 @@ build_fuzzer "new" "qtbase" "gui/text/qtextdocument/sethtml/sethtml.pro" "html"
build_fuzzer "old" "qtbase" "gui/text/qtextdocument/setmarkdown/setmarkdown.pro" "markdown"
build_fuzzer "new" "qtbase" "gui/text/qtextlayout/beginlayout/beginlayout.pro" "text"
build_fuzzer "new" "qtbase" "network/ssl/qsslcertificate/qsslcertificate/pem/pem.pro" "ssl.pem"
build_fuzzer "new" "qtsvg" "svg/qsvgrenderer/render/render.pro" "svg"