• R/O
  • SSH

libctools: Commit

This library contains code that extends and simplifies different operations
for C language based programs.


Commit MetaInfo

Revisiónee373b4d50799b705bf06a55d99da54369593853 (tree)
Tiempo2022-08-31 06:28:04
AutorSergey Gusarov <laborer2008@gmai...>
CommiterSergey Gusarov

Log Message

tests: Reduced scope of CT_USING_CT_NAMESPACE

Cambiar Resumen

Diferencia incremental

diff -r 1b0c7878b59e -r ee373b4d5079 tests/src/test_common_errors.c
--- a/tests/src/test_common_errors.c Tue Aug 30 22:05:52 2022 +0300
+++ b/tests/src/test_common_errors.c Wed Aug 31 00:28:04 2022 +0300
@@ -24,10 +24,10 @@
2424 {
2525 }
2626
27-CT_USING_CT_NAMESPACE
28-
2927 void testCompile(void)
3028 {
29+ CT_USING_CT_NAMESPACE
30+
3131 enum CommonError ce = ceOk;
3232
3333 CT_UNUSED(ce);
diff -r 1b0c7878b59e -r ee373b4d5079 tests/src/test_ctools.c
--- a/tests/src/test_ctools.c Tue Aug 30 22:05:52 2022 +0300
+++ b/tests/src/test_ctools.c Wed Aug 31 00:28:04 2022 +0300
@@ -22,10 +22,10 @@
2222 {
2323 }
2424
25-CT_USING_CT_NAMESPACE
26-
2725 void testCompile(void)
2826 {
27+ CT_USING_CT_NAMESPACE
28+
2929 enum CommonError ce = initializeCtools();
3030
3131 TEST_ASSERT_TRUE(ce == ceOk);
diff -r 1b0c7878b59e -r ee373b4d5079 tests/src/test_endianness.c
--- a/tests/src/test_endianness.c Tue Aug 30 22:05:52 2022 +0300
+++ b/tests/src/test_endianness.c Wed Aug 31 00:28:04 2022 +0300
@@ -22,10 +22,10 @@
2222 {
2323 }
2424
25-CT_USING_CT_NAMESPACE
26-
2725 void testCompile(void)
2826 {
27+ CT_USING_CT_NAMESPACE
28+
2929 const enum Endianness kRuntimeSystemEndianness = getRuntimeSystemEndianness();
3030
3131 TEST_ASSERT_TRUE(kRuntimeSystemEndianness != enUnknown);
diff -r 1b0c7878b59e -r ee373b4d5079 tests/src/test_exit_codes.c
--- a/tests/src/test_exit_codes.c Tue Aug 30 22:05:52 2022 +0300
+++ b/tests/src/test_exit_codes.c Wed Aug 31 00:28:04 2022 +0300
@@ -24,10 +24,10 @@
2424 {
2525 }
2626
27-CT_USING_CT_NAMESPACE
28-
2927 void testCompile(void)
3028 {
29+ CT_USING_CT_NAMESPACE
30+
3131 const enum ExitCode kEc = ecSuccess;
3232 const union InheritedExitCode kInheritedExitCode = {0};
3333
diff -r 1b0c7878b59e -r ee373b4d5079 tests/src/test_trace_ext.c
--- a/tests/src/test_trace_ext.c Tue Aug 30 22:05:52 2022 +0300
+++ b/tests/src/test_trace_ext.c Wed Aug 31 00:28:04 2022 +0300
@@ -24,10 +24,10 @@
2424 {
2525 }
2626
27-CT_USING_CT_NAMESPACE
28-
2927 void testCompile(void)
3028 {
29+ CT_USING_CT_NAMESPACE
30+
3131 CT_TRACE_DEBUG_IF(true, "debug message");
3232 CT_TRACE_DEBUG_WP_IF(true, "debug message");
3333
Show on old repository browser