Go to the source code of this file.
◆ VSF_TEST_DATA_FILE_PATH
| #define VSF_TEST_DATA_FILE_PATH "/root/test_data.bin" |
◆ vsf_test_file_data_init()
Initialize the file for data synchronization.
- Parameters
-
- Note
- Its default implementation is an empty weak function, which the user can re-implement as needed. After initialization, we need to make sure that file operations can be used properly.
◆ vsf_test_file_data_sync()
Synchronize data via standard file interface (fopen, fread, fwrite, fclose).
- Parameters
-
- Note
- This is a synchronized blocking API using file I/O.
◆ vsf_test_file_read_case_result()
Read test case result and name from file.
- Parameters
-
| [in] | idx | test case index |
| [out] | result | test result |
| [out] | name | test case name buffer (can be NULL) |
| [in] | name_size | size of name buffer |
- Returns
- true if found, false otherwise
Read test case result and name from file.