Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.abin91062 -> 90996 bytes
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/etLogger.c10
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/etUnit.c2
3 files changed, 4 insertions, 8 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.a b/runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.a
index 2def3aaec..f2593d66d 100644
--- a/runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.a
+++ b/runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.a
Binary files differ
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/etLogger.c b/runtime/org.eclipse.etrice.runtime.c/src/etLogger.c
index bbba4a628..9d58dd2ca 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/etLogger.c
+++ b/runtime/org.eclipse.etrice.runtime.c/src/etLogger.c
@@ -24,18 +24,15 @@
void etLogger_logError(const char* message){
- printf("ERROR: %s", message);
- printf("\n");
+ printf("ERROR: %s\n", message);
}
void etLogger_logWarning(const char* message){
- printf("WARNING: %s", message);
- printf("\n");
+ printf("WARNING: %s\n", message);
}
void etLogger_logInfo(const char* message){
- printf("INFO: %s", message);
- printf("\n");
+ printf("INFO: %s\n", message);
}
void etLogger_logErrorF(const char* format, ... ){
@@ -78,5 +75,4 @@ void etLogger_fprintf(etFileHandle file, const char* format, ... ){
va_start( arglist, format );
vfprintf(file, format, arglist );
va_end( arglist );
-
}
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/etUnit.c b/runtime/org.eclipse.etrice.runtime.c/src/etUnit.c
index 30460e278..c798cb92f 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/etUnit.c
+++ b/runtime/org.eclipse.etrice.runtime.c/src/etUnit.c
@@ -74,7 +74,7 @@ void etUnit_open(char* testResultPath, char* testFileName) {
etLogger_logErrorF("Unable to open file %s/%s.xml", etUnit_TestResultPath, etUnit_TestFileName);
}
}
- // prepare time measurement
+ /* prepare time measurement */
etUnit_startTime = clock();
etUnit_currentTime = clock();
etLogger_logInfoF("Start Time: %ld", etUnit_startTime);

Back to the top