CI: harmonize test case identifier

Remove unused testCase_id definitions and replace all occurrences of test_id
with test_idx across the ci-scripts folder.
This commit is contained in:
Jaroslava Fiedlerova
2026-01-14 23:43:08 +01:00
parent 0166bbd493
commit 3893d5c8ef
8 changed files with 18 additions and 27 deletions
+2 -2
View File
@@ -24,14 +24,14 @@ from typing import NamedTuple
import logging
class TestCaseCtx(NamedTuple):
test_id: int
test_idx: int
logPath: str
def Default(logPath):
return TestCaseCtx(112233, logPath)
def baseFilename(self):
# typically, the test ID is of form 001234 (6 digits)
return f"{self.logPath}/{self.test_id:06d}"
return f"{self.logPath}/{self.test_idx:06d}"
def archiveArtifact(cmd, ctx, remote_path):
base = os.path.basename(remote_path)