This library contains code that extends and simplifies different operations
for C language based programs.
Revision | 957a3d1e5ad2efb68c24ed860fd8b4f77464b1ef (tree) |
---|---|
Zeit | 2022-10-04 14:01:17 |
Autor | Sergey Gusarov <laborer2008@gmai...> |
Commiter | Sergey Gusarov |
Fixed test_io with bcc
@@ -64,7 +64,7 @@ | ||
64 | 64 | kAbsPath = realpath(path, resolvedPath); |
65 | 65 | |
66 | 66 | if (kAbsPath == CT_NULL) |
67 | - CT_TRACE_ERRORC("realpth() failed"); | |
67 | + CT_TRACE_ERRORC("realpath() failed"); | |
68 | 68 | } |
69 | 69 | while (false); |
70 | 70 |
@@ -56,7 +56,11 @@ | ||
56 | 56 | TEST_ASSERT_TRUE(absolutePath == CT_NULL); |
57 | 57 | #elif defined (CT_OS_WINDOWS) |
58 | 58 | // Windows function return current directory in such case. We test here compilability, so don't care |
59 | - TEST_ASSERT_TRUE(absolutePath != CT_NULL); | |
59 | +# if defined (CT_COMPL_BCC) | |
60 | + TEST_ASSERT_TRUE(absolutePath == CT_NULL); | |
61 | +# else | |
62 | + TEST_ASSERT_TRUE(absolutePath != CT_NULL); | |
63 | +# endif | |
60 | 64 | #endif |
61 | 65 | |
62 | 66 | createDirStatus = createDir(CT_NULL, true); |