Parcourir la source

Fail plugin tests if the desired plugins could not be started.

Sascha Zelzer il y a 14 ans
Parent
commit
235b472c60

+ 2 - 0
Libs/PluginFramework/Testing/Cpp/ctkPluginFrameworkTestRunner.cpp

@@ -266,6 +266,8 @@ int ctkPluginFrameworkTestRunner::run(int argc, char** argv)
     {
       qCritical() << "  -" << p.first;
     }
+
+    return EXIT_FAILURE;
   }
 
   TestRunner runner(d->context, d->startPlugins, argc, argv);