qa: move unittests to the separate directory

This commit is contained in:
Sylwester Kocjan 2022-03-18 21:05:15 +01:00 committed by Ian McInerney
parent df2d8a5680
commit 0d64fc8c09
182 changed files with 44 additions and 21 deletions

View File

@ -42,11 +42,6 @@ add_subdirectory( qa_utils )
add_subdirectory( pcbnew_utils )
# Unit tests
add_subdirectory( common )
add_subdirectory( gerbview )
add_subdirectory( eeschema )
add_subdirectory( libs )
add_subdirectory( pcbnew )
add_subdirectory( unittests )
# Utility/debugging/profiling programs

View File

@ -31,6 +31,7 @@ set( QA_PCBNEW_UTILS_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/board_construction_utils.cpp
${CMAKE_CURRENT_SOURCE_DIR}/board_file_utils.cpp
${CMAKE_CURRENT_SOURCE_DIR}/board_test_utils.cpp
)
add_library( qa_pcbnew_utils STATIC ${QA_PCBNEW_UTILS_SRCS} )

View File

@ -21,7 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "board_test_utils.h"
#include <pcbnew_utils/board_test_utils.h>
#include <wx/filename.h>
#include <board.h>

View File

@ -0,0 +1,28 @@
# This program source code file is part of KiCad, a free EDA CAD application.
#
# Copyright (C) 2014-2019 KiCad Developers, see AUTHORS.txt for contributors.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, you may find one here:
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# or you may search the http://www.gnu.org website for the version 2 license,
# or you may write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
## Unit tests
add_subdirectory( common )
add_subdirectory( gerbview )
add_subdirectory( eeschema )
add_subdirectory( libs )
add_subdirectory( pcbnew )
add_subdirectory( utils/kicad2step )

View File

@ -48,8 +48,8 @@ set( QA_EESCHEMA_SRCS
test_sch_biu.cpp
# Shared between programs, but dependent on the BIU
${CMAKE_SOURCE_DIR}/qa/common/test_format_units.cpp
${CMAKE_SOURCE_DIR}/qa/common/test_array_options.cpp
${CMAKE_SOURCE_DIR}/qa/unittests/common/test_format_units.cpp
${CMAKE_SOURCE_DIR}/qa/unittests/common/test_array_options.cpp
sch_plugins/altium/test_altium_parser_sch.cpp

Some files were not shown because too many files have changed in this diff Show More