@@ -734,7 +734,6 @@ control_t fslittle_fopen_test_06(const size_t call_count)
734
734
control_t fslittle_fopen_test_07 (const size_t call_count)
735
735
{
736
736
FILE *f = NULL ;
737
- int ret = -1 ;
738
737
int errno_val = 0 ;
739
738
const char *filename = sd_badfile_path;
740
739
@@ -1016,7 +1015,7 @@ control_t fslittle_fopen_test_11(const size_t call_count)
1016
1015
return CaseNext;
1017
1016
}
1018
1017
1019
-
1018
+ # if ! defined(__ARMCC_VERSION) && defined(__GNUC__)
1020
1019
/* file data for test_12 */
1021
1020
static fslittle_kv_data_t fslittle_fopen_test_12_kv_data[] = {
1022
1021
{ " /sd/test_12/subdir/testfil1.txt" , " testfil1.txt" },
@@ -1026,6 +1025,7 @@ static fslittle_kv_data_t fslittle_fopen_test_12_kv_data[] = {
1026
1025
{ " /sd/test_12/testfil5.txt" , " testfil5.txt" },
1027
1026
{ NULL , NULL },
1028
1027
};
1028
+ #endif
1029
1029
1030
1030
/* * @brief test for operation of readdir().
1031
1031
*
@@ -1036,6 +1036,7 @@ static fslittle_kv_data_t fslittle_fopen_test_12_kv_data[] = {
1036
1036
*/
1037
1037
control_t fslittle_fopen_test_12 (const size_t call_count)
1038
1038
{
1039
+ #if ! defined(__ARMCC_VERSION) && defined(__GNUC__)
1039
1040
char buf[FSLITTLE_FOPEN_TEST_WORK_BUF_SIZE_1];
1040
1041
char *pos = NULL ;
1041
1042
int32_t count = 0 ;
@@ -1048,8 +1049,6 @@ control_t fslittle_fopen_test_12(const size_t call_count)
1048
1049
FSLITTLE_FENTRYLOG (" %s:entered\n " , __func__);
1049
1050
(void ) call_count;
1050
1051
1051
- #if ! defined(__ARMCC_VERSION) && defined(__GNUC__)
1052
-
1053
1052
/* start from a known state i.e. directory to be created in not present */
1054
1053
while (node->filename != NULL ) {
1055
1054
fslittle_filepath_remove_all ((char *) node->filename );
@@ -1156,13 +1155,15 @@ control_t fslittle_fopen_test_13(const size_t call_count)
1156
1155
return CaseNext;
1157
1156
}
1158
1157
1158
+ #if ! defined(__ARMCC_VERSION) && defined(__GNUC__)
1159
1159
/* file data for test_14 */
1160
1160
static fslittle_kv_data_t fslittle_fopen_test_14_kv_data[] = {
1161
1161
/* a file is included in the filepath even though its not created by the test,
1162
1162
* as the fslittle_filepath_make_dirs() works with it present. */
1163
1163
{ " /sd/test_14/testfile.txt" , " testdata" },
1164
1164
{ NULL , NULL },
1165
1165
};
1166
+ #endif
1166
1167
1167
1168
/* * @brief test for operation of stat()
1168
1169
*
0 commit comments