Kaydet (Commit) 68dad6ff authored tarafından Matúš Kukan's avatar Matúš Kukan

sal: split unit-tests to one test per makefile

üst 1c275849
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
# sal_osl_file
$(eval $(call gb_CppunitTest_CppunitTest,sal_osl_file)) $(eval $(call gb_CppunitTest_CppunitTest,sal_osl_file))
$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_file,\ $(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_file,\
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
# sal_osl_module
$(eval $(call gb_CppunitTest_CppunitTest,sal_osl_module)) $(eval $(call gb_CppunitTest_CppunitTest,sal_osl_module))
$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_module,\ $(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_module,\
...@@ -37,16 +36,4 @@ $(eval $(call gb_CppunitTest_add_linked_libs,sal_osl_module,\ ...@@ -37,16 +36,4 @@ $(eval $(call gb_CppunitTest_add_linked_libs,sal_osl_module,\
$(gb_STDLIBS) \ $(gb_STDLIBS) \
)) ))
# sal_osl_module_dll
$(eval $(call gb_CppunitTest_CppunitTest,sal_osl_module_dll))
$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_module_dll,\
sal/qa/osl/module/osl_Module_DLL \
))
$(eval $(call gb_CppunitTest_add_linked_libs,sal_osl_module_dll,\
sal \
$(gb_STDLIBS) \
))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
#
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_CppunitTest_CppunitTest,sal_osl_module_dll))
$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_module_dll,\
sal/qa/osl/module/osl_Module_DLL \
))
$(eval $(call gb_CppunitTest_add_linked_libs,sal_osl_module_dll,\
sal \
$(gb_STDLIBS) \
))
# vim: set noet sw=4 ts=4:
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
# sal_osl_old_test_file
$(eval $(call gb_CppunitTest_CppunitTest,sal_osl_old_test_file)) $(eval $(call gb_CppunitTest_CppunitTest,sal_osl_old_test_file))
$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_old_test_file,\ $(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_old_test_file,\
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
# osl_process
$(eval $(call gb_CppunitTest_CppunitTest,sal_osl_process)) $(eval $(call gb_CppunitTest_CppunitTest,sal_osl_process))
$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_process,\ $(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_process,\
...@@ -37,16 +36,4 @@ $(eval $(call gb_CppunitTest_add_linked_libs,sal_osl_process,\ ...@@ -37,16 +36,4 @@ $(eval $(call gb_CppunitTest_add_linked_libs,sal_osl_process,\
$(gb_STDLIBS) \ $(gb_STDLIBS) \
)) ))
# osl_Thread
$(eval $(call gb_CppunitTest_CppunitTest,sal_osl_thread))
$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_thread,\
sal/qa/osl/process/osl_Thread \
))
$(eval $(call gb_CppunitTest_add_linked_libs,sal_osl_thread,\
sal \
$(gb_STDLIBS) \
))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
#
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_CppunitTest_CppunitTest,sal_osl_thread))
$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_thread,\
sal/qa/osl/process/osl_Thread \
))
$(eval $(call gb_CppunitTest_add_linked_libs,sal_osl_thread,\
sal \
$(gb_STDLIBS) \
))
# vim: set noet sw=4 ts=4:
...@@ -46,13 +46,13 @@ $(eval $(call gb_Module_add_check_targets,sal,\ ...@@ -46,13 +46,13 @@ $(eval $(call gb_Module_add_check_targets,sal,\
CppunitTest_sal_bytesequence \ CppunitTest_sal_bytesequence \
CppunitTest_sal_osl_condition \ CppunitTest_sal_osl_condition \
CppunitTest_sal_osl_file \ CppunitTest_sal_osl_file \
CppunitTest_sal_osl_module \ CppunitTest_sal_osl_module_dll \
CppunitTest_sal_osl_mutex \ CppunitTest_sal_osl_mutex \
CppunitTest_sal_osl_old_test_file \ CppunitTest_sal_osl_old_test_file \
CppunitTest_sal_osl_process \
CppunitTest_sal_osl_profile \ CppunitTest_sal_osl_profile \
CppunitTest_sal_osl_security \ CppunitTest_sal_osl_security \
CppunitTest_sal_osl_setthreadname \ CppunitTest_sal_osl_setthreadname \
CppunitTest_sal_osl_thread \
CppunitTest_sal_rtl_alloc \ CppunitTest_sal_rtl_alloc \
CppunitTest_sal_rtl_cipher \ CppunitTest_sal_rtl_cipher \
CppunitTest_sal_rtl_crc32 \ CppunitTest_sal_rtl_crc32 \
...@@ -65,6 +65,9 @@ $(eval $(call gb_Module_add_check_targets,sal,\ ...@@ -65,6 +65,9 @@ $(eval $(call gb_Module_add_check_targets,sal,\
CppunitTest_sal_tcwf \ CppunitTest_sal_tcwf \
CppunitTest_sal_types \ CppunitTest_sal_types \
)) ))
# these are failing: \
CppunitTest_sal_osl_module \
CppunitTest_sal_osl_process \
# CppunitTest_sal_osl_pipe has circular dependency on unotest # CppunitTest_sal_osl_pipe has circular dependency on unotest
# $(eval $(call gb_Module_add_subsequentcheck_targets,sal,\ # $(eval $(call gb_Module_add_subsequentcheck_targets,sal,\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment