From b144607666b38618439d064232b441f685b60635 Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Thu, 29 Sep 2016 14:03:06 +0200 Subject: [PATCH] Move unit test from `tests/` to `tests/unit_tests` Moving the unit tests to a seperate folder in tests, allows the regression tests to be placed in `tests/regressions_tests`. --- .gitignore | 2 +- configure.ac | 5 +++-- tests/Makefile.am | 2 +- tests/unit_tests/Makefile.am | 4 ++++ tests/{ => unit_tests}/lib/Makefile.am | 0 tests/{ => unit_tests}/lib/common/Makefile.am | 0 tests/{ => unit_tests}/lib/common/command_line.c | 0 7 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 tests/unit_tests/Makefile.am rename tests/{ => unit_tests}/lib/Makefile.am (100%) rename tests/{ => unit_tests}/lib/common/Makefile.am (100%) rename tests/{ => unit_tests}/lib/common/command_line.c (100%) diff --git a/.gitignore b/.gitignore index fe4ecf32f..cff4c79c7 100644 --- a/.gitignore +++ b/.gitignore @@ -203,7 +203,7 @@ tests/**/*.log tests/**/*.trs ## Binaries -tests/lib/common/command_line +tests/unit_tests/lib/common/command_line # Folders generated by Visual Studio builds **/Debug/** diff --git a/configure.ac b/configure.ac index b484eb68c..e8a799c4b 100644 --- a/configure.ac +++ b/configure.ac @@ -3222,8 +3222,9 @@ AC_CONFIG_FILES(Makefile tclpkg/gv/META.gv rtest/Makefile tests/Makefile - tests/lib/Makefile - tests/lib/common/Makefile + tests/unit_tests/Makefile + tests/unit_tests/lib/Makefile + tests/unit_tests/lib/common/Makefile share/Makefile share/examples/Makefile share/gui/Makefile diff --git a/tests/Makefile.am b/tests/Makefile.am index 92600a707..8e4e403da 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,4 +1,4 @@ # $Id$ $Revision$ ## Process this file with automake to produce Makefile.in -SUBDIRS = lib +SUBDIRS = unit_tests diff --git a/tests/unit_tests/Makefile.am b/tests/unit_tests/Makefile.am new file mode 100644 index 000000000..92600a707 --- /dev/null +++ b/tests/unit_tests/Makefile.am @@ -0,0 +1,4 @@ +# $Id$ $Revision$ +## Process this file with automake to produce Makefile.in + +SUBDIRS = lib diff --git a/tests/lib/Makefile.am b/tests/unit_tests/lib/Makefile.am similarity index 100% rename from tests/lib/Makefile.am rename to tests/unit_tests/lib/Makefile.am diff --git a/tests/lib/common/Makefile.am b/tests/unit_tests/lib/common/Makefile.am similarity index 100% rename from tests/lib/common/Makefile.am rename to tests/unit_tests/lib/common/Makefile.am diff --git a/tests/lib/common/command_line.c b/tests/unit_tests/lib/common/command_line.c similarity index 100% rename from tests/lib/common/command_line.c rename to tests/unit_tests/lib/common/command_line.c -- 2.40.0