aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2021-01-19 14:19:20 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2021-01-20 15:23:08 +0100
commit3230caeeb5fab2035fea9242aaca4022f9ad25e4 (patch)
treea098eebbe90829e1060985bf9f150b6667723594 /tests
parentfb6158732b6615d26e7800a2a7821fe854363d29 (diff)
Restore libfuzzer pro files
This is a partial revert of 78ab4b8d8b75fed240cded1a3f182048e56a8823, as the fuzzing infrastructure has not been migrated to CMake yet. Change-Id: Iebd873ec3760c5394bc248ed853b57e168d0f05c Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/libfuzzer/qml/jsapi/evaluate/evaluate.pro11
-rw-r--r--tests/libfuzzer/qml/qml/qqmlcomponent/create/create.pro11
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/libfuzzer/qml/jsapi/evaluate/evaluate.pro b/tests/libfuzzer/qml/jsapi/evaluate/evaluate.pro
new file mode 100644
index 0000000000..1b042c94d3
--- /dev/null
+++ b/tests/libfuzzer/qml/jsapi/evaluate/evaluate.pro
@@ -0,0 +1,11 @@
+QT -= gui
+QT += qml
+CONFIG += console
+CONFIG -= app_bundle
+SOURCES += main.cpp
+FUZZ_ENGINE = $$(LIB_FUZZING_ENGINE)
+isEmpty(FUZZ_ENGINE) {
+ QMAKE_LFLAGS += -fsanitize=fuzzer
+} else {
+ LIBS += $$FUZZ_ENGINE
+}
diff --git a/tests/libfuzzer/qml/qml/qqmlcomponent/create/create.pro b/tests/libfuzzer/qml/qml/qqmlcomponent/create/create.pro
new file mode 100644
index 0000000000..1b042c94d3
--- /dev/null
+++ b/tests/libfuzzer/qml/qml/qqmlcomponent/create/create.pro
@@ -0,0 +1,11 @@
+QT -= gui
+QT += qml
+CONFIG += console
+CONFIG -= app_bundle
+SOURCES += main.cpp
+FUZZ_ENGINE = $$(LIB_FUZZING_ENGINE)
+isEmpty(FUZZ_ENGINE) {
+ QMAKE_LFLAGS += -fsanitize=fuzzer
+} else {
+ LIBS += $$FUZZ_ENGINE
+}