You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/11/14 14:41:59 UTC

[incubator-nuttx-apps] branch master updated (14465b85c -> a79973818)

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


    from 14465b85c cmd_dd:support dd can do verify
     new 606ebe99d testing/fstest:Remove duplicate macro references in source code
     new a79973818 testing/fstest:Remove duplicate macro references in source code

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 testing/fstest/fstest_main.c | 29 -----------------------------
 1 file changed, 29 deletions(-)


[incubator-nuttx-apps] 01/02: testing/fstest:Remove duplicate macro references in source code

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit 606ebe99d94294e601f6916ae99f09d7bdd2faef
Author: crafcat7 <11...@users.noreply.github.com>
AuthorDate: Sun Nov 13 02:02:17 2022 +0800

    testing/fstest:Remove duplicate macro references in source code
    
    There is a macro configuration in the source code, and the macro configuration is also referenced in Kconfig. Delete the macro configuration in the source file, whichever is in Kconfig.
---
 testing/fstest/fstest_main.c | 39 ---------------------------------------
 1 file changed, 39 deletions(-)

diff --git a/testing/fstest/fstest_main.c b/testing/fstest/fstest_main.c
index 1d44675a3..00b51cf9b 100644
--- a/testing/fstest/fstest_main.c
+++ b/testing/fstest/fstest_main.c
@@ -46,45 +46,6 @@
 
 #include <nuttx/crc32.h>
 
-/****************************************************************************
- * Pre-processor Definitions
- ****************************************************************************/
-
-/* Configuration ************************************************************/
-
-#ifndef CONFIG_TESTING_FSTEST_MAXNAME
-#  define CONFIG_TESTING_FSTEST_MAXNAME 128
-#endif
-
-#if CONFIG_TESTING_FSTEST_MAXNAME > 255
-#  undef CONFIG_TESTING_FSTEST_MAXNAME
-#  define CONFIG_TESTING_FSTEST_MAXNAME 255
-#endif
-
-#ifndef CONFIG_TESTING_FSTEST_MAXFILE
-#  define CONFIG_TESTING_FSTEST_MAXFILE 8192
-#endif
-
-#ifndef CONFIG_TESTING_FSTEST_MAXIO
-#  define CONFIG_TESTING_FSTEST_MAXIO 347
-#endif
-
-#ifndef CONFIG_TESTING_FSTEST_MAXOPEN
-#  define CONFIG_TESTING_FSTEST_MAXOPEN 512
-#endif
-
-#ifndef CONFIG_TESTING_FSTEST_MOUNTPT
-#  error CONFIG_TESTING_FSTEST_MOUNTPT must be provided
-#endif
-
-#ifndef CONFIG_TESTING_FSTEST_NLOOPS
-#  define CONFIG_TESTING_FSTEST_NLOOPS 100
-#endif
-
-#ifndef CONFIG_TESTING_FSTEST_VERBOSE
-#  define CONFIG_TESTING_FSTEST_VERBOSE 0
-#endif
-
 /****************************************************************************
  * Private Types
  ****************************************************************************/


[incubator-nuttx-apps] 02/02: testing/fstest:Remove duplicate macro references in source code

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit a799738184ef54113fdd5bd3f6a88806de64734a
Author: crafcat7 <11...@users.noreply.github.com>
AuthorDate: Mon Nov 14 11:21:14 2022 +0800

    testing/fstest:Remove duplicate macro references in source code
---
 testing/fstest/fstest_main.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/testing/fstest/fstest_main.c b/testing/fstest/fstest_main.c
index 00b51cf9b..a48723a56 100644
--- a/testing/fstest/fstest_main.c
+++ b/testing/fstest/fstest_main.c
@@ -46,6 +46,16 @@
 
 #include <nuttx/crc32.h>
 
+/****************************************************************************
+ * Pre-processor Definitions
+ ****************************************************************************/
+
+/* Configuration ************************************************************/
+
+#ifndef CONFIG_TESTING_FSTEST_VERBOSE
+#  define CONFIG_TESTING_FSTEST_VERBOSE 0
+#endif
+
 /****************************************************************************
  * Private Types
  ****************************************************************************/