Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2022-01-14 14:11:59 +0000
committerJuergen Haug2022-01-14 14:11:59 +0000
commit1b11507ba3a154947ed9bd1a03f53f8d976a11e6 (patch)
tree96ba1155d55abae205be3276849855243fbbfd6a /runtime/org.eclipse.etrice.runtime.c
parent5f9d3998a4ad25965e37003cbec56235063df1a6 (diff)
downloadorg.eclipse.etrice-master.tar.gz
org.eclipse.etrice-master.tar.xz
org.eclipse.etrice-master.zip
fixed etunit skipHEADmaster
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/common/etUnit/etUnit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/common/etUnit/etUnit.c b/runtime/org.eclipse.etrice.runtime.c/src/common/etUnit/etUnit.c
index 303d6acda..297ae59ea 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/common/etUnit/etUnit.c
+++ b/runtime/org.eclipse.etrice.runtime.c/src/common/etUnit/etUnit.c
@@ -238,6 +238,9 @@ void etUnit_closeTestCase(etInt16 id) {
void etUnit_skipTestCase(etInt16 id, const char* msg) {
etInt16 caseId = getOpenTestCaseId(id);
+ etInt16 parallelId = getParallelIndex(caseId);
+ etUnit_testcaseOpen[parallelId] = ET_FALSE;
+
if (etUnit_reportfile != NULL) {
etLogger_fprintf(etUnit_reportfile, "tc skip %d: %s\n", caseId, msg);
}

Back to the top