[glom] Moved the python tests to a sub-directory.



commit f070f745748175b42780a93684cb32c35f402df4
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Apr 7 09:04:30 2011 +0200

    Moved the python tests to a sub-directory.
    
    * tests/test_load_python_library.cc:
    * tests/test_python_execute_func.cc:
    * tests/test_python_execute_func_bad_syntax.cc:
    * tests/test_python_execute_func_change_result_type.cc:
    * tests/test_python_execute_func_date.cc:
    * tests/test_python_execute_script.cc:
    * tests/test_python_module.cc: Moved to tests/python/
    * Makefile_tests.am: Adapted.

 ChangeLog                                          |   13 +++
 Makefile_tests.am                                  |   78 ++++++++++----------
 tests/{ => python}/test_load_python_library.cc     |    0
 tests/{ => python}/test_python_execute_func.cc     |    0
 .../test_python_execute_func_bad_syntax.cc         |    0
 .../test_python_execute_func_change_result_type.cc |    0
 .../{ => python}/test_python_execute_func_date.cc  |    0
 tests/{ => python}/test_python_execute_script.cc   |    0
 tests/{ => python}/test_python_module.cc           |    0
 9 files changed, 52 insertions(+), 39 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 820a390..419c867 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2011-04-07  Murray Cumming  <murrayc murrayc com>
+
+	Moved the python tests to a sub-directory.
+
+	* tests/test_load_python_library.cc:
+	* tests/test_python_execute_func.cc:
+	* tests/test_python_execute_func_bad_syntax.cc:
+	* tests/test_python_execute_func_change_result_type.cc:
+	* tests/test_python_execute_func_date.cc:
+	* tests/test_python_execute_script.cc:
+	* tests/test_python_module.cc: Moved to tests/python/
+	* Makefile_tests.am: Adapted.
+
 2011-04-05  Murray Cumming  <murrayc murrayc com>
 
 	Remove more small traces of pygda.
diff --git a/Makefile_tests.am b/Makefile_tests.am
index 15e37e2..035a29d 100644
--- a/Makefile_tests.am
+++ b/Makefile_tests.am
@@ -23,8 +23,8 @@ check_PROGRAMS =						\
 	tests/test_document_autosave			\
 	tests/test_parsing_time			\
 	tests/test_signal_reemit			\
-	tests/test_load_python_library\
-	tests/test_python_module \
+	tests/python/test_load_python_library\
+	tests/python/test_python_module \
 	tests/test_selfhosting_new_empty \
 	tests/test_selfhosting_new_from_example \
 	tests/import/test_parsing \
@@ -36,8 +36,8 @@ TESTS =	tests/test_document_load	\
 	tests/test_signal_reemit \
 	tests/test_dtd_file_validation.sh \
 	tests/test_glade_file_validation.sh \
-	tests/test_load_python_library \
-	tests/test_python_module \
+	tests/python/test_load_python_library \
+	tests/python/test_python_module \
 	tests/test_selfhosting_new_empty \
 	tests/test_selfhosting_new_from_example \
 	tests/import/test_parsing \
@@ -83,13 +83,13 @@ tests_test_signal_reemit_SOURCES = tests/test_signal_reemit.cc
 tests_test_signal_reemit_LDADD = $(LIBGLOM_LIBS)
 tests_test_signal_reemit_CPPFLAGS = $(tests_cppflags)
 
-tests_test_load_python_library_SOURCES = tests/test_load_python_library.cc
-tests_test_load_python_library_LDADD = $(LIBGLOM_LIBS) -ldl
-tests_test_load_python_library_CPPFLAGS = $(tests_cppflags)
+tests_python_test_load_python_library_SOURCES = tests/python/test_load_python_library.cc
+tests_python_test_load_python_library_LDADD = $(LIBGLOM_LIBS) -ldl
+tests_python_test_load_python_library_CPPFLAGS = $(tests_cppflags)
 
-tests_test_python_module_SOURCES = tests/test_python_module.cc
-tests_test_python_module_LDADD = $(tests_ldadd) $(PYTHON_LIBS)
-tests_test_python_module_CPPFLAGS = $(tests_cppflags)
+tests_python_test_python_module_SOURCES = tests/python/test_python_module.cc
+tests_python_test_python_module_LDADD = $(tests_ldadd) $(PYTHON_LIBS)
+tests_python_test_python_module_CPPFLAGS = $(tests_cppflags)
 
 
 # Distribute the tests data:
@@ -97,8 +97,8 @@ dist_noinst_DATA = tests/import/data/albums.csv
 
 # Let the .cc source code know about this path: TODO: Actually use this.
 glom_test_import_defines = -DGLOM_TESTS_IMPORT_DATA_NOTINSTALLED=\""$(abs_top_srcdir)/tests/import/data/"\"
-  
-  
+
+
 tests_import_test_parsing_SOURCES =	\
 	glom/import_csv/csv_parser.cc	\
 	glom/import_csv/csv_parser.h	\
@@ -136,21 +136,21 @@ check_PROGRAMS += \
 	glom/test_pyembed \
 	tests/test_glade_derived_instantiation \
 	tests/glade_toplevels_instantiation \
-	tests/test_python_execute_func \
-	tests/test_python_execute_func_bad_syntax \
-	tests/test_python_execute_func_date \
-	tests/test_python_execute_func_change_result_type \
-	tests/test_python_execute_script
+	tests/python/test_python_execute_func \
+	tests/python/test_python_execute_func_bad_syntax \
+	tests/python/test_python_execute_func_date \
+	tests/python/test_python_execute_func_change_result_type \
+	tests/python/test_python_execute_script
 #	glom/mode_data/test_flowtablewithfields
 
 TESTS += \
 	tests/test_glade_toplevels_instantiation.sh \
 	tests/test_glade_derived_instantiation \
-	tests/test_python_execute_func \
-	tests/test_python_execute_func_bad_syntax \
-	tests/test_python_execute_func_date \
-	tests/test_python_execute_func_change_result_type \
-	tests/test_python_execute_script
+	tests/python/test_python_execute_func \
+	tests/python/test_python_execute_func_bad_syntax \
+	tests/python/test_python_execute_func_date \
+	tests/python/test_python_execute_func_change_result_type \
+	tests/python/test_python_execute_script
 
 glom_utility_widgets_test_flowtable_SOURCES =	\
 	glom/utility_widgets/flowtable.cc	\
@@ -172,32 +172,32 @@ glom_utility_widgets_test_flowtable_CPPFLAGS = $(tests_cppflags_ui)
 #glom_mode_data_test_flowtablewithfields_CPPFLAGS = $(tests_cppflags_ui)
 
 
-tests_test_python_execute_func_SOURCES = tests/test_python_execute_func.cc \
+tests_python_test_python_execute_func_SOURCES = tests/python/test_python_execute_func.cc \
   glom/python_embed/glom_python.cc
-tests_test_python_execute_func_LDADD = $(tests_ldadd) $(GLOM_LIBS) $(PYTHON_LIBS)
-tests_test_python_execute_func_CPPFLAGS = $(tests_cppflags_ui)
-tests_test_python_execute_func_CFLAGS = $(tests_cflags)
-tests_test_python_execute_func_CXXFLAGS = $(tests_cxxflags)
+tests_python_test_python_execute_func_LDADD = $(tests_ldadd) $(GLOM_LIBS) $(PYTHON_LIBS)
+tests_python_test_python_execute_func_CPPFLAGS = $(tests_cppflags_ui)
+tests_python_test_python_execute_func_CFLAGS = $(tests_cflags)
+tests_python_test_python_execute_func_CXXFLAGS = $(tests_cxxflags)
 
-tests_test_python_execute_func_bad_syntax_SOURCES = tests/test_python_execute_func_bad_syntax.cc \
+tests_python_test_python_execute_func_bad_syntax_SOURCES = tests/python/test_python_execute_func_bad_syntax.cc \
   glom/python_embed/glom_python.cc
-tests_test_python_execute_func_bad_syntax_LDADD = $(tests_ldadd) $(GLOM_LIBS) $(PYTHON_LIBS)
-tests_test_python_execute_func_bad_syntax_CPPFLAGS = $(tests_cppflags_ui)
+tests_python_test_python_execute_func_bad_syntax_LDADD = $(tests_ldadd) $(GLOM_LIBS) $(PYTHON_LIBS)
+tests_python_test_python_execute_func_bad_syntax_CPPFLAGS = $(tests_cppflags_ui)
 
-tests_test_python_execute_func_date_SOURCES = tests/test_python_execute_func_date.cc \
+tests_python_test_python_execute_func_date_SOURCES = tests/python/test_python_execute_func_date.cc \
   glom/python_embed/glom_python.cc
-tests_test_python_execute_func_date_LDADD = $(tests_ldadd) $(GLOM_LIBS) $(PYTHON_LIBS)
-tests_test_python_execute_func_date_CPPFLAGS = $(tests_cppflags_ui)
+tests_python_test_python_execute_func_date_LDADD = $(tests_ldadd) $(GLOM_LIBS) $(PYTHON_LIBS)
+tests_python_test_python_execute_func_date_CPPFLAGS = $(tests_cppflags_ui)
 
-tests_test_python_execute_func_change_result_type_SOURCES = tests/test_python_execute_func_change_result_type.cc \
+tests_python_test_python_execute_func_change_result_type_SOURCES = tests/python/test_python_execute_func_change_result_type.cc \
   glom/python_embed/glom_python.cc
-tests_test_python_execute_func_change_result_type_LDADD = $(tests_ldadd) $(GLOM_LIBS) $(PYTHON_LIBS)
-tests_test_python_execute_func_change_result_type_CPPFLAGS = $(tests_cppflags_ui)
+tests_python_test_python_execute_func_change_result_type_LDADD = $(tests_ldadd) $(GLOM_LIBS) $(PYTHON_LIBS)
+tests_python_test_python_execute_func_change_result_type_CPPFLAGS = $(tests_cppflags_ui)
 
-tests_test_python_execute_script_SOURCES = tests/test_python_execute_script.cc \
+tests_python_test_python_execute_script_SOURCES = tests/python/test_python_execute_script.cc \
   glom/python_embed/glom_python.cc
-tests_test_python_execute_script_LDADD = $(tests_ldadd) $(GLOM_LIBS) $(PYTHON_LIBS)
-tests_test_python_execute_script_CPPFLAGS = $(tests_cppflags_ui)
+tests_python_test_python_execute_script_LDADD = $(tests_ldadd) $(GLOM_LIBS) $(PYTHON_LIBS)
+tests_python_test_python_execute_script_CPPFLAGS = $(tests_cppflags_ui)
 
 # You must remove PlaceholderGlom::get_application() to avoid having to specify
 # a huge set of .cc files when building this test:
diff --git a/tests/test_load_python_library.cc b/tests/python/test_load_python_library.cc
similarity index 100%
rename from tests/test_load_python_library.cc
rename to tests/python/test_load_python_library.cc
diff --git a/tests/test_python_execute_func.cc b/tests/python/test_python_execute_func.cc
similarity index 100%
rename from tests/test_python_execute_func.cc
rename to tests/python/test_python_execute_func.cc
diff --git a/tests/test_python_execute_func_bad_syntax.cc b/tests/python/test_python_execute_func_bad_syntax.cc
similarity index 100%
rename from tests/test_python_execute_func_bad_syntax.cc
rename to tests/python/test_python_execute_func_bad_syntax.cc
diff --git a/tests/test_python_execute_func_change_result_type.cc b/tests/python/test_python_execute_func_change_result_type.cc
similarity index 100%
rename from tests/test_python_execute_func_change_result_type.cc
rename to tests/python/test_python_execute_func_change_result_type.cc
diff --git a/tests/test_python_execute_func_date.cc b/tests/python/test_python_execute_func_date.cc
similarity index 100%
rename from tests/test_python_execute_func_date.cc
rename to tests/python/test_python_execute_func_date.cc
diff --git a/tests/test_python_execute_script.cc b/tests/python/test_python_execute_script.cc
similarity index 100%
rename from tests/test_python_execute_script.cc
rename to tests/python/test_python_execute_script.cc
diff --git a/tests/test_python_module.cc b/tests/python/test_python_module.cc
similarity index 100%
rename from tests/test_python_module.cc
rename to tests/python/test_python_module.cc



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