Skip to content
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.

Commit

Permalink
disable crashing test on mingw
Browse files Browse the repository at this point in the history
crashes because of some internal Qt error - unrelated to own code
  • Loading branch information
Skycoder42 committed Dec 14, 2018
1 parent eb0f285 commit c29d144
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/auto/mvvmcore/serviceregistry/tst_serviceregistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
#include "plugintestinterface.h"
using namespace QtMvvm;

#if !defined(Q_CC_GNU) || !defined(Q_OS_WIN) || defined(QT_NO_DEBUG)
#define NO_MINGW_DEBUG_BUILD
#endif

class ServiceRegistryTest : public QObject
{
Q_OBJECT
Expand All @@ -19,7 +23,9 @@ private Q_SLOTS:
void testDepedencyConstructions();
void testInjection();

#ifdef NO_MINGW_DEBUG_BUILD
void testPluginRegistration();
#endif

void testDestructionScopes();

Expand Down Expand Up @@ -156,6 +162,7 @@ void ServiceRegistryTest::testInjection()
}
}

#ifdef NO_MINGW_DEBUG_BUILD
void ServiceRegistryTest::testPluginRegistration()
{
try {
Expand Down Expand Up @@ -185,6 +192,7 @@ void ServiceRegistryTest::testPluginRegistration()
#endif
}
}
#endif

void ServiceRegistryTest::testDestructionScopes()
{
Expand Down

0 comments on commit c29d144

Please sign in to comment.