CT metrics to remove test cases skipped

Changes:
    - Some tests are skipped and the test status is marked
      as SKIP. When generating metric CSV file, it add up.
      Added check to skip marking a test as executed because
      the test is not executed but the robot makes an
      entry as skipped in the report log.

Tested:
   - Ran script against XLM out which has passed and skipped
     test cases.

Change-Id: Ie4dd63a2a2f5563e640ebc8273baee26e654f9ae
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tools/ct_metrics/gen_csv_results.py b/tools/ct_metrics/gen_csv_results.py
index bbc66d9..ccdf966 100755
--- a/tools/ct_metrics/gen_csv_results.py
+++ b/tools/ct_metrics/gen_csv_results.py
@@ -331,6 +331,9 @@
         # Test Result pass=0 fail=1
         if testcase.status == "PASS":
             l_test_result = 0
+        elif testcase.status == "SKIP":
+            # Skipped test result should not be mark pass or fail.
+            continue
         else:
             l_test_result = 1