Browse Source

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

Sascha Zelzer 14 years ago
parent
commit
235b472c60
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Libs/PluginFramework/Testing/Cpp/ctkPluginFrameworkTestRunner.cpp

+ 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);