test_run : mode_nwni disable Xcos tests 62/10262/2
Antoine ELIAS [Mon, 21 Jan 2013 13:45:27 +0000 (14:45 +0100)]
Change-Id: If53ed87109c0273215d9b39891f4c1a3c3a1c377

scilab/modules/development_tools/macros/test_run.sci

index 0ecca62..1e2799e 100644 (file)
@@ -614,6 +614,11 @@ function status = test_single(_module, _testPath, _testName)
   end
 
   if ~isempty(grep(sciFile, "<-- XCOS TEST -->")) then
+    if _module.wanted_mode == "NWNI" then
+      status.id = 10;
+      status.message = "skipped: Test with xcos";
+      return;
+    end
     xcosNeeded = %T;
     jvm = %T;
   end