From 71e3cd2465510ef8e146fdaea1ceec2c5cc8a4df Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Tue, 6 Jun 2017 14:45:17 +0200 Subject: [PATCH] Startup --- plugins/TestingList.java | 8 ++++++-- script/tests/tests.properties | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/plugins/TestingList.java b/plugins/TestingList.java index f239bb0..ca88896 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -1875,7 +1875,7 @@ public class TestingList extends Panel { private HashMap mParameters; //private HashMap args; - private HashMap hTests; + private HashMap hTests ; /** * @@ -2014,7 +2014,8 @@ public class TestingList extends Panel { * @return return value: 0 means ok, <0 means problem */ private int executeParallelTestsGroup(int[] rowsToExecute) throws InterruptedException { - System.out.println(Convert.arrayToString(rowsToExecute, " - " , 10)); +System.out.println(Convert.arrayToString(rowsToExecute, " - " , 10)); + hTests = new HashMap(); int iRet = -1; HashMap args2 = new HashMap(); //this is the global map that will contain one map per test. HashMap testArgs; //this is the map for a test. @@ -2030,6 +2031,7 @@ public class TestingList extends Panel { mParameters = (HashMap) testArgs.get(testArgNames.PARAMETERS.toString()); sTestID = sDeviceName+"|"+sTestPath; File f = new File(sTestPath); +System.out.println("Path = " + sTestPath); if (!f.exists() || f.isDirectory()) { logger.log(Level.SEVERE, "Cannot find test script: " + sTestPath); showResult(sDeviceName, sTestPath, "Cannot find test script: " + sTestPath, TestStatus.FAILURE.toString()); @@ -2052,12 +2054,14 @@ public class TestingList extends Panel { hTests = args2; iRet = 0; } catch (Exception ex) { + ex.printStackTrace(); SwingUtils.showMessage(TestingList.this, "executeTest()", ex.toString()); logger.log(Level.SEVERE, ex.toString()); showResult(sDeviceName, sTestPath, ex.toString(), TestStatus.FAILURE.toString()); setToStopped(); } } +System.out.println(hTests); try { int iLastExecutedTestIndex = -1; final String sParallelizeBegin = "(run,(str('"; diff --git a/script/tests/tests.properties b/script/tests/tests.properties index 561a1ed..0512d05 100644 --- a/script/tests/tests.properties +++ b/script/tests/tests.properties @@ -1,5 +1,5 @@ #TestingList for pshell: configuration properties -#Tue Jun 06 14:36:58 CEST 2017 +#Tue Jun 06 14:45:04 CEST 2017 customPanel= showEnabledTestsOnly=true listFilter=LabTests