Home
last modified time | relevance | path

Searched refs:test_file (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.5.0/tests/subsys/fs/multi-fs/src/
Dtest_littlefs_file.c12 static struct fs_file_t test_file; variable
17 fs_file_t_init(&test_file); in test_littlefs_open()
18 zassert_true(test_file_open(&test_file, TEST_FILE_PATH) == TC_PASS, in test_littlefs_open()
25 zassert_true(test_file_write(&test_file, test_str) == TC_PASS, in test_littlefs_write()
31 zassert_true(test_file_read(&test_file, test_str) == TC_PASS); in test_littlefs_read()
36 zassert_true(test_file_close(&test_file) == TC_PASS); in test_littlefs_close()
Dtest_fat_file.c12 static struct fs_file_t test_file; variable
17 fs_file_t_init(&test_file); in test_fat_open()
18 zassert_true(test_file_open(&test_file, TEST_FILE_PATH) == TC_PASS, in test_fat_open()
25 zassert_true(test_file_write(&test_file, test_str) == TC_PASS, in test_fat_write()
31 zassert_true(test_file_read(&test_file, test_str) == TC_PASS); in test_fat_read()
36 zassert_true(test_file_close(&test_file) == TC_PASS); in test_fat_close()
/Zephyr-Core-3.5.0/scripts/tests/twister/pytest_integration/
Dtest_harness_pytest.py119 test_file = pytester.path / 'test_valid.py'
120 test_file.write_text(test_file_content)
123 str(test_file),
149 test_file = pytester.path / 'test_error.py'
150 test_file.write_text(test_file_content)
153 str(test_file),
183 test_file = pytester.path / 'test_skip.py'
184 test_file.write_text(test_file_content)
187 str(test_file),
/Zephyr-Core-3.5.0/tests/arch/common/semihost/src/
Dmain.c13 const char *test_file = "./test.bin"; in ZTEST() local
19 fd = semihost_open(test_file, SEMIHOST_OPEN_WB); in ZTEST()
37 fd = semihost_open(test_file, SEMIHOST_OPEN_RB); in ZTEST()
65 fd = semihost_open(test_file, SEMIHOST_OPEN_WB); in ZTEST()
/Zephyr-Core-3.5.0/scripts/tests/twister/
Dtest_testsuite.py205 def test_scan_file(test_data, test_file, class_env, expected: ScanPathResult): argument
211 result: ScanPathResult = scan_file(os.path.join(test_data, test_file))