[amtk] Move unit-tests/ to tests/unit-tests/



commit 37591e17efa31fe0faedc1a8a66ebd66c40bb5eb
Author: Sébastien Wilmet <sebastien wilmet gmail com>
Date:   Fri Sep 10 01:24:58 2021 +0200

    Move unit-tests/ to tests/unit-tests/
    
    The tests/ dir contains all the tests:
    - interactive (GUI) tests / small apps;
    - unit tests;
    - in the future, there could be performance tests.

 meson.build                                               | 3 +--
 tests/meson.build                                         | 2 ++
 {unit-tests => tests/unit-tests}/meson.build              | 0
 {unit-tests => tests/unit-tests}/test-action-info-store.c | 0
 {unit-tests => tests/unit-tests}/test-action-map.c        | 0
 {unit-tests => tests/unit-tests}/test-utils.c             | 0
 6 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index f16bb6d..a8ba330 100644
--- a/meson.build
+++ b/meson.build
@@ -135,8 +135,7 @@ add_project_arguments(supported_warning_cflags, language: 'c')
 
 subdir('po')
 subdir('amtk')
-subdir('tests/interactive-tests')
-subdir('unit-tests')
+subdir('tests')
 
 if get_option('gtk_doc')
   subdir('docs/reference')
diff --git a/tests/meson.build b/tests/meson.build
new file mode 100644
index 0000000..75ca764
--- /dev/null
+++ b/tests/meson.build
@@ -0,0 +1,2 @@
+subdir('interactive-tests')
+subdir('unit-tests')
diff --git a/unit-tests/meson.build b/tests/unit-tests/meson.build
similarity index 100%
rename from unit-tests/meson.build
rename to tests/unit-tests/meson.build
diff --git a/unit-tests/test-action-info-store.c b/tests/unit-tests/test-action-info-store.c
similarity index 100%
rename from unit-tests/test-action-info-store.c
rename to tests/unit-tests/test-action-info-store.c
diff --git a/unit-tests/test-action-map.c b/tests/unit-tests/test-action-map.c
similarity index 100%
rename from unit-tests/test-action-map.c
rename to tests/unit-tests/test-action-map.c
diff --git a/unit-tests/test-utils.c b/tests/unit-tests/test-utils.c
similarity index 100%
rename from unit-tests/test-utils.c
rename to tests/unit-tests/test-utils.c


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]