Skip to content

Commit dd7c9a2

Browse files
committed
apps/testing: move cxxsize,cxxtest and uclibcxx_test folders to the new cxx folder
Signed-off-by: tengshuangshuang <[email protected]>
1 parent bdb0fcd commit dd7c9a2

Some content is hidden

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

41 files changed

+109
-36
lines changed

Diff for: testing/cxx/.gitignore

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

Diff for: testing/cxx/CMakeLists.txt

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# ##############################################################################
2+
# apps/testing/cxx/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 "cxx")

Diff for: testing/cxx/Make.defs

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

Diff for: testing/cxx/Makefile

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

Diff for: testing/cxxsize/CMakeLists.txt renamed to 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
#
File renamed without changes.

Diff for: testing/cxxsize/Make.defs renamed to testing/cxx/cxxsize/Make.defs

+2-2
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
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

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

Diff for: testing/cxxsize/Makefile renamed to 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
#

Diff for: testing/cxxsize/array.cxx renamed to 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
//

Diff for: testing/cxxsize/condition_variable.cxx renamed to 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
//

Diff for: testing/cxxsize/deque.cxx renamed to 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
//

Diff for: testing/cxxsize/exception.cxx renamed to 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
//

Diff for: testing/cxxsize/forward_list.cxx renamed to 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
//

Diff for: testing/cxxsize/future.cxx renamed to 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
//

Diff for: testing/cxxsize/iostream.cxx renamed to 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
//

Diff for: testing/cxxsize/list.cxx renamed to 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
//

Diff for: testing/cxxsize/map.cxx renamed to 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
//

Diff for: testing/cxxsize/multiset.cxx renamed to 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
//

Diff for: testing/cxxsize/mutex.cxx renamed to 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
//

Diff for: testing/cxxsize/rtti.cxx renamed to 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
//

Diff for: testing/cxxsize/semaphore.cxx renamed to 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
//

Diff for: testing/cxxsize/set.cxx renamed to 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
//

Diff for: testing/cxxsize/shared_ptr.cxx renamed to 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
//

Diff for: testing/cxxsize/string.cxx renamed to 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
//

Diff for: testing/cxxsize/string_view.cxx renamed to 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
//

Diff for: testing/cxxsize/thread.cxx renamed to 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
//

Diff for: testing/cxxsize/unordered_map.cxx renamed to 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
//

Diff for: testing/cxxsize/unordered_multimap.cxx renamed to 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
//

Diff for: testing/cxxsize/unordered_multiset.cxx renamed to 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
//

Diff for: testing/cxxsize/unordered_set.cxx renamed to 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
//

Diff for: testing/cxxsize/vector.cxx renamed to 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
//

Diff for: testing/cxxsize/weak_ptr.cxx renamed to 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
//

Diff for: testing/cxxtest/CMakeLists.txt renamed to 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
#
File renamed without changes.

Diff for: testing/cxxtest/Make.defs renamed to testing/cxx/cxxtest/Make.defs

+2-2
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
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

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

Diff for: testing/cxxtest/Makefile renamed to 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
#

Diff for: testing/cxxtest/cxxtest_main.cxx renamed to 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.

Diff for: testing/uclibcxx_test/Make.defs renamed to 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

Diff for: testing/uclibcxx_test/Makefile renamed to 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)