Revision control
++ // Copyright (C) 2023 The Qt Company Ltd.
++ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
++
++ #include <QtQuickTest/quicktest.h>
++ #include "../shared/util.h"
++ class tst_callback: public QObject
++ {
++ Q_OBJECT
++ private slots:
++ void skiptest() { QSKIP("This test will fail, skipping."); };
++ };
++ int main(int argc, char **argv)
++ {
++ QString message = needSkip();
++ if (!message.isEmpty()) {
++ qWarning() << message;
++ tst_callback skip;
++ return QTest::qExec(&skip, argc, argv);
++ }
++ registerTestUtilsTypes();
++ QTEST_SET_MAIN_SOURCE_PATH
++ return quick_test_main(argc, argv, "tst_callback", QUICK_TEST_SOURCE_DIR);
++ }
++ #include "tst_callback.moc"