Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2019-03-11 07:54:06 +0000
committerGerrit Code Review @ Eclipse.org2019-03-11 07:54:06 +0000
commitb3ab476b6409654505c2c928f30e8342e778de7b (patch)
tree2e9e9c6739b85073d4bba8894e066a065d6f611f /runtime/org.eclipse.etrice.runtime.c/src/common/etUnit/etUnit.c
parent314575730c85372b358e8ac58b89a76d67887955 (diff)
parentf0a2d5f112c244eb73c885e2e57120963d6749bc (diff)
downloadorg.eclipse.etrice-b3ab476b6409654505c2c928f30e8342e778de7b.tar.gz
org.eclipse.etrice-b3ab476b6409654505c2c928f30e8342e778de7b.tar.xz
org.eclipse.etrice-b3ab476b6409654505c2c928f30e8342e778de7b.zip
Merge "Bug 544839 - [etunit] added test case skip"
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/common/etUnit/etUnit.c')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/common/etUnit/etUnit.c6
1 files changed, 6 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 36d3c219a..e8ee2e176 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
@@ -182,6 +182,12 @@ void etUnit_closeTestCase(etInt16 id) {
}
}
+void etUnit_skipTestCase(etInt16 id, const char* msg) {
+ if (etUnit_reportfile != NULL) {
+ etLogger_fprintf(etUnit_reportfile, "tc skip %d: %s\n", id, msg);
+ }
+}
+
etInt16 etUnit_openAll(const char* testResultPath, const char* testFileName, const char* testSuiteName, const char* testCaseName) {
etUnit_open(testResultPath, testFileName);
etUnit_openTestSuite(testSuiteName);

Back to the top