Fuzzing: ignore logging output from QColorSpace
Change-Id: Ica549be24c8873854934f4ba24f2b3f7cb077e25 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
parent
cd57dae62f
commit
f5a58cccc2
@ -26,14 +26,16 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
#include <QGuiApplication>
|
||||
#include <QColorSpace>
|
||||
|
||||
// Run this with
|
||||
// QT_LOGGING_RULES="qt.gui.icc=false"
|
||||
// to reduce noise and increase speed.
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const char *data, size_t size) {
|
||||
// to reduce noise and increase speed
|
||||
static char quiet[] = "QT_LOGGING_RULES=qt.gui.icc=false";
|
||||
static int pe = putenv(quiet);
|
||||
Q_UNUSED(pe)
|
||||
static int argc = 3;
|
||||
static char arg1[] = "fuzzer";
|
||||
static char arg2[] = "-platform";
|
||||
|
Loading…
Reference in New Issue
Block a user