aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libfuzzer
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-01-27 15:20:08 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-01-29 15:38:42 +0000
commit12f0381a34a9fb4548e9b30c987f44848adc1f67 (patch)
tree48dc5b714187d60616d2a923eed81744c365cbcb /tests/libfuzzer
parentc70a92eb7af9b432b2543d7d02542e736fbde6be (diff)
Regenerate tests
Change-Id: I8b685745f0c7bf42904f7e8fca34ba14097f4686 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/libfuzzer')
-rw-r--r--tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt17
1 files changed, 16 insertions, 1 deletions
diff --git a/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt b/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt
index 0d5a5b2b14..2a41d5ed66 100644
--- a/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt
+++ b/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt
@@ -8,6 +8,21 @@ qt_add_executable(evaluate
SOURCES
main.cpp
PUBLIC_LIBRARIES
- # Remove: fsanitize=fuzzer
Qt::Qml
)
+
+#### Keys ignored in scope 1:.:.:evaluate.pro:<TRUE>:
+# FUZZ_ENGINE = "$$(LIB_FUZZING_ENGINE)"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(evaluate CONDITION FUZZ_ENGINE_ISEMPTY
+ LINK_OPTIONS
+ "-fsanitize=fuzzer"
+)
+
+qt_extend_target(evaluate CONDITION NOT FUZZ_ENGINE_ISEMPTY
+ PUBLIC_LIBRARIES
+ $ENV{LIB_FUZZING_ENGINE}
+)