Skip to content

Commit

Permalink
Merge the test cases under testing into the same folder
Browse files Browse the repository at this point in the history
Signed-off-by: tengshuangshuang <[email protected]>
  • Loading branch information
txy-21 committed Jan 8, 2025
1 parent 4051bfc commit a5bf405
Show file tree
Hide file tree
Showing 451 changed files with 873 additions and 805 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ build
.ccls-cache
compile_commands.json
.aider*
testing/*/Kconfig
23 changes: 23 additions & 0 deletions testing/arch/Make.defs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
############################################################################
# apps/testing/arch/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
# ASF licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
############################################################################

include $(wildcard $(APPDIR)/testing/arch/*/Make.defs)
25 changes: 25 additions & 0 deletions testing/arch/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
############################################################################
# apps/testing/arch/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
# ASF licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
############################################################################

MENUDESC = "arch"

include $(APPDIR)/Directory.mk
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/testing/himem_test/LibIncludes.mk
# apps/testing/arch/himem_test/LibIncludes.mk
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/testing/himem_test/Make.defs
# apps/testing/arch/himem_test/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
Expand All @@ -22,5 +22,5 @@


ifneq ($(CONFIG_TESTING_HIMEM_TEST),)
CONFIGURED_APPS += $(APPDIR)/testing/himem_test
CONFIGURED_APPS += $(APPDIR)/testing/arch/himem_test
endif
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/testing/himem_test/Makefile
# apps/testing/arch/himem_test/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
Expand All @@ -22,7 +22,7 @@


include $(APPDIR)/Make.defs
include $(APPDIR)/testing/himem_test/LibIncludes.mk
include $(APPDIR)/testing/arch/himem_test/LibIncludes.mk


# built-in application info
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* apps/testing/himem_test/himem_chardev_test.c
* apps/testing/arch/himem_test/himem_chardev_test.c
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ##############################################################################
# apps/testing/mtetest/CMakeLists.txt
# apps/testing/arch/mtetest/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions testing/mtetest/Make.defs → testing/arch/mtetest/Make.defs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/testing/mtetest/Make.defs
# apps/testing/arch/mtetest/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
Expand All @@ -21,5 +21,5 @@
############################################################################

ifneq ($(CONFIG_TESTING_MTE),)
CONFIGURED_APPS += $(APPDIR)/testing/mtetest
CONFIGURED_APPS += $(APPDIR)/testing/arch/mtetest
endif
2 changes: 1 addition & 1 deletion testing/mtetest/Makefile → testing/arch/mtetest/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/testing/mtetest/Makefile
# apps/testing/arch/mtetest/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* apps/testing/mtetest/mtetest.c
* apps/testing/arch/mtetest/mtetest.c
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/system/uorb/Make.defs
# apps/testing/arch/x86-64-ABI/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
Expand All @@ -21,5 +21,5 @@
############################################################################

ifneq ($(CONFIG_TESTING_X86_64_ABI),)
CONFIGURED_APPS += $(APPDIR)/testing/x86-64-ABI
CONFIGURED_APPS += $(APPDIR)/testing/arch/x86-64-ABI
endif
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/testing/x86-64-ABI/Makefile
# apps/testing/arch/x86-64-ABI/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ##############################################################################
# apps/testing/cxxsize/CMakeLists.txt
# apps/testing/cxx/cxxsize/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/Make.defs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/testing/cxxtest/Make.defs
# apps/testing/cxx/cxxtest/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/testing/cxxtest/Makefile
# apps/testing/cxx/cxxtest/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/array.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/array.cxx
// apps/testing/cxx/cxxsize/array.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/condition_variable.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/condition_variable.cxx
// apps/testing/cxx/cxxsize/condition_variable.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/deque.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/deque.cxx
// apps/testing/cxx/cxxsize/deque.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/exception.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/exception.cxx
// apps/testing/cxx/cxxsize/exception.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/forward_list.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/forward_list.cxx
// apps/testing/cxx/cxxsize/forward_list.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/future.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/future.cxx
// apps/testing/cxx/cxxsize/future.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/iostream.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/iostream.cxx
// apps/testing/cxx/cxxsize/iostream.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/list.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/list.cxx
// apps/testing/cxx/cxxsize/list.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/map.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/map.cxx
// apps/testing/cxx/cxxsize/map.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/multiset.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/multiset.cxx
// apps/testing/cxx/cxxsize/multiset.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/mutex.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/mutex.cxx
// apps/testing/cxx/cxxsize/mutex.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/rtti.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/rtti.cxx
// apps/testing/cxx/cxxsize/rtti.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/semaphore.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/semaphore.cxx
// apps/testing/cxx/cxxsize/semaphore.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/set.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/set.cxx
// apps/testing/cxx/cxxsize/set.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/shared_ptr.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/shared_ptr.cxx
// apps/testing/cxx/cxxsize/shared_ptr.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/string.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/string.cxx
// apps/testing/cxx/cxxsize/string.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/string_view.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/string_view.cxx
// apps/testing/cxx/cxxsize/string_view.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/thread.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/thread.cxx
// apps/testing/cxx/cxxsize/thread.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/unordered_map.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/unordered_map.cxx
// apps/testing/cxx/cxxsize/unordered_map.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/unordered_multimap.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/unordered_multimap.cxx
// apps/testing/cxx/cxxsize/unordered_multimap.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/unordered_multiset.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/unordered_multiset.cxx
// apps/testing/cxx/cxxsize/unordered_multiset.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/unordered_set.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/unordered_set.cxx
// apps/testing/cxx/cxxsize/unordered_set.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/vector.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/vector.cxx
// apps/testing/cxx/cxxsize/vector.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxsize/weak_ptr.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxsize/weak_ptr.cxx
// apps/testing/cxx/cxxsize/weak_ptr.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxtest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ##############################################################################
# apps/testing/cxxtest/CMakeLists.txt
# apps/testing/cxx/cxxtest/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxtest/Make.defs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/testing/cxxtest/Make.defs
# apps/testing/cxx/cxxtest/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxtest/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/testing/cxxtest/Makefile
# apps/testing/cxx/cxxtest/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
2 changes: 1 addition & 1 deletion testing/cxx/cxxtest/cxxtest_main.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//***************************************************************************
// apps/testing/cxxtest/cxxtest_main.cxx
// apps/testing/cxx/cxxtest/cxxtest_main.cxx
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/testing/uclibcxx_test/Make.defs
# apps/testing/cxx/uclibcxx_test/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
Expand All @@ -21,5 +21,5 @@
############################################################################

ifneq ($(CONFIG_TESTING_UCLIBCXXTEST),)
CONFIGURED_APPS += $(APPDIR)/testing/uclibcxx_test
CONFIGURED_APPS += $(APPDIR)/testing//cxx/uclibcxx_test
endif
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/testing/uclibcxx_test/Makefile
# apps/testing/cxx/uclibcxx_test/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
Loading

0 comments on commit a5bf405

Please sign in to comment.