mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
testing/fs:reduce the test time of fs test
Reduce TEST_NUM from 1000 to 100 in fs_opendir_test.c Reduce loop count from 100 to 30 in fs_stream_test.c Signed-off-by: wangxingxing <wangxingxing@xiaomi.com>
This commit is contained in:
parent
f2ba4883fa
commit
42e3566147
2 changed files with 2 additions and 2 deletions
|
|
@ -85,7 +85,7 @@ void test_nuttx_fs_opendir01(FAR void **state)
|
|||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define TEST_NUM 1000
|
||||
#define TEST_NUM 100
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ void test_nuttx_fs_stream02(FAR void **state)
|
|||
char *junk = "abcdefghijklmnopqrstuvwxyz";
|
||||
long pos;
|
||||
int lc;
|
||||
for (lc = 0; lc < 100; lc++)
|
||||
for (lc = 0; lc < 30; lc++)
|
||||
{
|
||||
if ((stream = fopen(TESTFILENAME, "a+")) == NULL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue