summary refs log tree commit diff stats
path: root/testament/htmlgen.nim
diff options
context:
space:
mode:
Diffstat (limited to 'testament/htmlgen.nim')
-rw-r--r--testament/htmlgen.nim7
1 files changed, 4 insertions, 3 deletions
diff --git a/testament/htmlgen.nim b/testament/htmlgen.nim
index 4a10fe00c..34902f71e 100644
--- a/testament/htmlgen.nim
+++ b/testament/htmlgen.nim
@@ -35,12 +35,12 @@ proc generateTestResultPanelPartial(outfile: File, testResultRow: JsonNode) =
     bgCtxClass = "success"
     resultSign = "ok"
     resultDescription = "PASS"
-  of "reIgnored":
+  of "reDisabled", "reJoined":
     panelCtxClass = "info"
     textCtxClass = "info"
     bgCtxClass = "info"
     resultSign = "question"
-    resultDescription = "SKIP"
+    resultDescription = if result != "reJoined": "SKIP" else: "JOINED"
   else:
     panelCtxClass = "danger"
     textCtxClass = "danger"
@@ -78,7 +78,8 @@ proc allTestResults(onlyFailing = false): AllTests =
         let state = elem["result"].str
         inc result.totalCount
         if state.contains("reSuccess"): inc result.successCount
-        elif state.contains("reIgnored"): inc result.ignoredCount
+        elif state.contains("reDisabled") or state.contains("reJoined"):
+          inc result.ignoredCount
         if not onlyFailing or not(state.contains("reSuccess")):
           result.data.add elem
   result.successPercentage = 100 *