Skip to content

apps/testing: move cxxsize, cxxtest and uclibcxx_test folders to the new cxx folder #2959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions testing/cxx/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/Kconfig
24 changes: 24 additions & 0 deletions testing/cxx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# ##############################################################################
# apps/testing/cxx/CMakeLists.txt
#
# 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.
#
# ##############################################################################

nuttx_add_subdirectory()
nuttx_generate_kconfig(MENUDESC "cxx")
23 changes: 23 additions & 0 deletions testing/cxx/Make.defs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
############################################################################
# apps/testing/cxx/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/cxx/*/Make.defs)
25 changes: 25 additions & 0 deletions testing/cxx/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
############################################################################
# apps/testing/cxx/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 = "cxx"

include $(APPDIR)/Directory.mk
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
File renamed without changes.
4 changes: 2 additions & 2 deletions testing/cxxsize/Make.defs → 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 All @@ -21,5 +21,5 @@
############################################################################

ifneq ($(CONFIG_TESTING_CXXSIZE),)
CONFIGURED_APPS += $(APPDIR)/testing/cxxsize
CONFIGURED_APPS += $(APPDIR)/testing/cxx/cxxsize
endif
2 changes: 1 addition & 1 deletion testing/cxxsize/Makefile → 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
File renamed without changes.
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
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
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
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
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
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
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/cxxsize/list.cxx → 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/cxxsize/map.cxx → 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
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
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/cxxsize/rtti.cxx → 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
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/cxxsize/set.cxx → 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
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
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
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
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
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
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
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
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
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
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
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
File renamed without changes.
4 changes: 2 additions & 2 deletions testing/cxxtest/Make.defs → 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 All @@ -21,5 +21,5 @@
############################################################################

ifneq ($(CONFIG_TESTING_CXXTEST),)
CONFIGURED_APPS += $(APPDIR)/testing/cxxtest
CONFIGURED_APPS += $(APPDIR)/testing/cxx/cxxtest
endif
2 changes: 1 addition & 1 deletion testing/cxxtest/Makefile → 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
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