aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/test_generator/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/tests/test_generator/main.cpp')
-rw-r--r--sources/shiboken6/tests/test_generator/main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/test_generator/main.cpp b/sources/shiboken6/tests/test_generator/main.cpp
new file mode 100644
index 000000000..ba4440b2f
--- /dev/null
+++ b/sources/shiboken6/tests/test_generator/main.cpp
@@ -0,0 +1,14 @@
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+#include <QtCore>
+
+int main(int argc, char *argv[])
+{
+ QStringList args;
+ args.append("--generator-set=dummy");
+ for (int i = 1; i < argc; i++)
+ args.append(argv[i]);
+ return QProcess::execute("generatorrunner", args);
+}
+