Skip to content

Commit 8d8af49

Browse files
committed
apps/testing:move epoll, fatutf8 ... folders to the new fs folder
Signed-off-by: tengshuangshuang <[email protected]>
1 parent 6bc2b3c commit 8d8af49

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+118
-45
lines changed

Diff for: testing/fs/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/kconfig

Diff for: testing/fs/CMakeLists.txt

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# ##############################################################################
2+
# apps/testing/fs/CMakeLists.txt
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
7+
# license agreements. See the NOTICE file distributed with this work for
8+
# additional information regarding copyright ownership. The ASF licenses this
9+
# file to you under the Apache License, Version 2.0 (the "License"); you may not
10+
# use this file except in compliance with the License. You may obtain a copy of
11+
# the License at
12+
#
13+
# http://www.apache.org/licenses/LICENSE-2.0
14+
#
15+
# Unless required by applicable law or agreed to in writing, software
16+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18+
# License for the specific language governing permissions and limitations under
19+
# the License.
20+
#
21+
# ##############################################################################
22+
23+
nuttx_add_subdirectory()
24+
nuttx_generate_kconfig(MENUDESC "fs")

Diff for: testing/fs/Make.defs

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
############################################################################
2+
# apps/testing/fs/Make.defs
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
# Licensed to the Apache Software Foundation (ASF) under one or more
7+
# contributor license agreements. See the NOTICE file distributed with
8+
# this work for additional information regarding copyright ownership. The
9+
# ASF licenses this file to you under the Apache License, Version 2.0 (the
10+
# "License"); you may not use this file except in compliance with the
11+
# License. You may obtain a copy of the License at
12+
#
13+
# http://www.apache.org/licenses/LICENSE-2.0
14+
#
15+
# Unless required by applicable law or agreed to in writing, software
16+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18+
# License for the specific language governing permissions and limitations
19+
# under the License.
20+
#
21+
############################################################################
22+
23+
include $(wildcard $(APPDIR)/testing/fs/*/Make.defs)

Diff for: testing/fs/Makefile

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
############################################################################
2+
# apps/testing/fs/Makefile
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
# Licensed to the Apache Software Foundation (ASF) under one or more
7+
# contributor license agreements. See the NOTICE file distributed with
8+
# this work for additional information regarding copyright ownership. The
9+
# ASF licenses this file to you under the Apache License, Version 2.0 (the
10+
# "License"); you may not use this file except in compliance with the
11+
# License. You may obtain a copy of the License at
12+
#
13+
# http://www.apache.org/licenses/LICENSE-2.0
14+
#
15+
# Unless required by applicable law or agreed to in writing, software
16+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18+
# License for the specific language governing permissions and limitations
19+
# under the License.
20+
#
21+
############################################################################
22+
23+
MENUDESC = "fs"
24+
25+
include $(APPDIR)/Directory.mk

Diff for: testing/epoll/CMakeLists.txt renamed to testing/fs/epoll/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/epoll/CMakeLists.txt
2+
# apps/testing/fs/epoll/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

Diff for: testing/epoll/Make.defs renamed to testing/fs/epoll/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/epoll/Make.defs
2+
# apps/testing/fs/epoll/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_EPOLL),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/epoll
24+
CONFIGURED_APPS += $(APPDIR)/testing/fs/epoll
2525
endif

Diff for: testing/epoll/Makefile renamed to testing/fs/epoll/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/epoll/Makefile
2+
# apps/testing/fs/epoll/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

Diff for: testing/epoll/epoll.c renamed to testing/fs/epoll/epoll.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/epoll/epoll.c
2+
* apps/testing/fs/epoll/epoll.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

Diff for: testing/fatutf8/CMakeLists.txt renamed to testing/fs/fatutf8/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/fatutf8/CMakeLists.txt
2+
# apps/testing/fs/fatutf8/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

Diff for: testing/fatutf8/Make.defs renamed to testing/fs/fatutf8/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/fatutf8/Make.defs
2+
# apps/testing/fs/fatutf8/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_FATUTF8),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/fatutf8
24+
CONFIGURED_APPS += $(APPDIR)/testing/fs/fatutf8
2525
endif

Diff for: testing/fatutf8/Makefile renamed to testing/fs/fatutf8/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/fatutf8/Makefile
2+
# apps/testing/fs/fatutf8/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

Diff for: testing/fatutf8/fatutf8_main.c renamed to testing/fs/fatutf8/fatutf8_main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/fatutf8/fatutf8_main.c
2+
* apps/testing/fs/fatutf8/fatutf8_main.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

Diff for: testing/fdsantest/CMakeLists.txt renamed to testing/fs/fdsantest/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/fdsantest/CMakeLists.txt
2+
# apps/testing/fs/fdsantest/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

Diff for: testing/fdsantest/Kconfig renamed to testing/fs/fdsantest/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55

66
config TESTING_FDSAN_TEST
7-
tristate "vela cmocka fdsan test"
7+
tristate "Nuttx cmocka fdsan test"
88
default n
99
depends on TESTING_CMOCKA
1010
---help---

Diff for: testing/fdsantest/Make.defs renamed to testing/fs/fdsantest/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/fdsantest/Make.defs
2+
# apps/testing/fs/fdsantest/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_FDSAN_TEST),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/fdsantest
24+
CONFIGURED_APPS += $(APPDIR)/testing/fs/fdsantest
2525
endif

Diff for: testing/fdsantest/Makefile renamed to testing/fs/fdsantest/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/fdsantest/Makefile
2+
# apps/testing/fs/fdsantest/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

Diff for: testing/fdsantest/fdsantest_simple.c renamed to testing/fs/fdsantest/fdsantest_simple.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/fdsantest/fdsantest_simple.c
2+
* apps/testing/fs/fdsantest/fdsantest_simple.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*
File renamed without changes.

Diff for: testing/fopencookie/Make.defs renamed to testing/fs/fopencookie/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/fopencookie/Make.defs
2+
# apps/testing/fs/fopencookie/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_FOPENCOOKIE_TEST),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/fopencookie
24+
CONFIGURED_APPS += $(APPDIR)/testing/fs/fopencookie
2525
endif

Diff for: testing/fopencookie/Makefile renamed to testing/fs/fopencookie/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/fopencookie/Makefile
2+
# apps/testing/fs/fopencookie/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

Diff for: testing/fopencookie/fopencookie.c renamed to testing/fs/fopencookie/fopencookie.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/fopencookie/fopencookie.c
2+
* apps/testing/fs/fopencookie/fopencookie.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

Diff for: testing/fstest/CMakeLists.txt renamed to testing/fs/fstest/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/fstest/CMakeLists.txt
2+
# apps/testing/fs/fstest/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

Diff for: testing/fstest/Make.defs renamed to testing/fs/fstest/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/fstest/Make.defs
2+
# apps/testing/fs/fstest/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_FSTEST),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/fstest
24+
CONFIGURED_APPS += $(APPDIR)/testing/fs/fstest
2525
endif

Diff for: testing/fstest/Makefile renamed to testing/fs/fstest/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/fstest/Makefile
2+
# apps/testing/fs/fstest/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

Diff for: testing/fstest/fstest_main.c renamed to testing/fs/fstest/fstest_main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/fstest/fstest_main.c
2+
* apps/testing/fs/fstest/fstest_main.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

Diff for: testing/mtd_config_fs/CMakeLists.txt renamed to testing/fs/mtd_config_fs/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/mtd_config_fs/CMakeLists.txt
2+
# apps/testing/fs/mtd_config_fs/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

Diff for: testing/mtd_config_fs/Make.defs renamed to testing/fs/mtd_config_fs/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/mtd_config_fs/Make.defs
2+
# apps/testing/fs/mtd_config_fs/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_MTD_CONFIG_FAIL_SAFE),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/mtd_config_fs
24+
CONFIGURED_APPS += $(APPDIR)/testing/fs/mtd_config_fs
2525
endif

Diff for: testing/mtd_config_fs/Makefile renamed to testing/fs/mtd_config_fs/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/mtd_config_fs/Makefile
2+
# apps/testing/fs/mtd_config_fs/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

Diff for: testing/mtd_config_fs/mtd_config_fs_test_main.c renamed to testing/fs/mtd_config_fs/mtd_config_fs_test_main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/mtd_config_fs/mtd_config_fs_test_main.c
2+
* apps/testing/fs/mtd_config_fs/mtd_config_fs_test_main.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

Diff for: testing/nxffs/CMakeLists.txt renamed to testing/fs/nxffs/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/nxffs/CMakeLists.txt
2+
# apps/testing/fs/nxffs/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

Diff for: testing/nxffs/Make.defs renamed to testing/fs/nxffs/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/nxffs/Make.defs
2+
# apps/testing/fs/nxffs/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_NXFFS),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/nxffs
24+
CONFIGURED_APPS += $(APPDIR)/testing/fs/nxffs
2525
endif

Diff for: testing/nxffs/Makefile renamed to testing/fs/nxffs/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/nxffs/Makefile
2+
# apps/testing/fs/nxffs/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

Diff for: testing/nxffs/nxffs_main.c renamed to testing/fs/nxffs/nxffs_main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/nxffs/nxffs_main.c
2+
* apps/testing/fs/nxffs/nxffs_main.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

Diff for: testing/smart/CMakeLists.txt renamed to testing/fs/smart/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/smart/CMakeLists.txt
2+
# apps/testing/fs/smart/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

Diff for: testing/smart/Make.defs renamed to testing/fs/smart/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/smart/Make.defs
2+
# apps/testing/fs/smart/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_SMART),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/smart
24+
CONFIGURED_APPS += $(APPDIR)/testing/fs/smart
2525
endif

Diff for: testing/smart/Makefile renamed to testing/fs/smart/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/smart/Makefile
2+
# apps/testing/fs/smart/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

Diff for: testing/smart/smart_main.c renamed to testing/fs/smart/smart_main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/smart/smart_main.c
2+
* apps/testing/fs/smart/smart_main.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

Diff for: testing/smart_test/CMakeLists.txt renamed to testing/fs/smart_test/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/smart_test/CMakeLists.txt
2+
# apps/testing/fs/smart_test/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

Diff for: testing/smart_test/Make.defs renamed to testing/fs/smart_test/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/smart_test/Make.defs
2+
# apps/testing/fs/smart_test/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_SMART_TEST),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/smart_test
24+
CONFIGURED_APPS += $(APPDIR)/testing/fs/smart_test
2525
endif

Diff for: testing/smart_test/Makefile renamed to testing/fs/smart_test/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/smart_test/Makefile
2+
# apps/testing/fs/smart_test/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

Diff for: testing/smart_test/smart_test.c renamed to testing/fs/smart_test/smart_test.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/smart_test/smart_test.c
2+
* apps/testing/fs/smart_test/smart_test.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

0 commit comments

Comments
 (0)