Skip to content

Commit a5bf405

Browse files
committed
Merge the test cases under testing into the same folder
Signed-off-by: tengshuangshuang <[email protected]>
1 parent 4051bfc commit a5bf405

File tree

451 files changed

+873
-805
lines changed

Some content is hidden

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

451 files changed

+873
-805
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ build
4747
.ccls-cache
4848
compile_commands.json
4949
.aider*
50+
testing/*/Kconfig

testing/arch/Make.defs

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
############################################################################
2+
# apps/testing/arch/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/arch/*/Make.defs)

testing/arch/Makefile

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
############################################################################
2+
# apps/testing/arch/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 = "arch"
24+
25+
include $(APPDIR)/Directory.mk
File renamed without changes.

testing/himem_test/LibIncludes.mk testing/arch/himem_test/LibIncludes.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/himem_test/LibIncludes.mk
2+
# apps/testing/arch/himem_test/LibIncludes.mk
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

testing/himem_test/Make.defs testing/arch/himem_test/Make.defs

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

2323

2424
ifneq ($(CONFIG_TESTING_HIMEM_TEST),)
25-
CONFIGURED_APPS += $(APPDIR)/testing/himem_test
25+
CONFIGURED_APPS += $(APPDIR)/testing/arch/himem_test
2626
endif

testing/himem_test/Makefile testing/arch/himem_test/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/himem_test/Makefile
2+
# apps/testing/arch/himem_test/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -22,7 +22,7 @@
2222

2323

2424
include $(APPDIR)/Make.defs
25-
include $(APPDIR)/testing/himem_test/LibIncludes.mk
25+
include $(APPDIR)/testing/arch/himem_test/LibIncludes.mk
2626

2727

2828
# built-in application info

testing/himem_test/himem_chardev_test.c testing/arch/himem_test/himem_chardev_test.c

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

testing/mtetest/CMakeLists.txt testing/arch/mtetest/CMakeLists.txt

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

testing/mtetest/Make.defs testing/arch/mtetest/Make.defs

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

2323
ifneq ($(CONFIG_TESTING_MTE),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/mtetest
24+
CONFIGURED_APPS += $(APPDIR)/testing/arch/mtetest
2525
endif

testing/mtetest/Makefile testing/arch/mtetest/Makefile

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

testing/mtetest/mtetest.c testing/arch/mtetest/mtetest.c

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

testing/x86-64-ABI/Make.defs testing/arch/x86-64-ABI/Make.defs

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

2323
ifneq ($(CONFIG_TESTING_X86_64_ABI),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/x86-64-ABI
24+
CONFIGURED_APPS += $(APPDIR)/testing/arch/x86-64-ABI
2525
endif

testing/x86-64-ABI/Makefile testing/arch/x86-64-ABI/Makefile

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

testing/cxx/cxxsize/CMakeLists.txt

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

testing/cxx/cxxsize/Make.defs

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

testing/cxx/cxxsize/Makefile

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

testing/cxx/cxxsize/array.cxx

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

testing/cxx/cxxsize/condition_variable.cxx

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

testing/cxx/cxxsize/deque.cxx

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

testing/cxx/cxxsize/exception.cxx

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

testing/cxx/cxxsize/forward_list.cxx

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

testing/cxx/cxxsize/future.cxx

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

testing/cxx/cxxsize/iostream.cxx

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

testing/cxx/cxxsize/list.cxx

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

testing/cxx/cxxsize/map.cxx

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

testing/cxx/cxxsize/multiset.cxx

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

testing/cxx/cxxsize/mutex.cxx

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

testing/cxx/cxxsize/rtti.cxx

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

testing/cxx/cxxsize/semaphore.cxx

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

testing/cxx/cxxsize/set.cxx

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

testing/cxx/cxxsize/shared_ptr.cxx

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

testing/cxx/cxxsize/string.cxx

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

testing/cxx/cxxsize/string_view.cxx

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

testing/cxx/cxxsize/thread.cxx

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

testing/cxx/cxxsize/unordered_map.cxx

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

testing/cxx/cxxsize/unordered_multimap.cxx

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

testing/cxx/cxxsize/unordered_multiset.cxx

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

testing/cxx/cxxsize/unordered_set.cxx

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

testing/cxx/cxxsize/vector.cxx

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

testing/cxx/cxxsize/weak_ptr.cxx

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

testing/cxx/cxxtest/CMakeLists.txt

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

testing/cxx/cxxtest/Make.defs

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

testing/cxx/cxxtest/Makefile

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

testing/cxx/cxxtest/cxxtest_main.cxx

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

testing/uclibcxx_test/Make.defs testing/cxx/uclibcxx_test/Make.defs

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

2323
ifneq ($(CONFIG_TESTING_UCLIBCXXTEST),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/uclibcxx_test
24+
CONFIGURED_APPS += $(APPDIR)/testing//cxx/uclibcxx_test
2525
endif

testing/uclibcxx_test/Makefile testing/cxx/uclibcxx_test/Makefile

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

0 commit comments

Comments
 (0)