diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-01-21 11:39:07 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-21 17:01:15 +0000 |
commit | 22815db58f554cd64ec3a625b81175bf5d93f91c (patch) | |
tree | 802d0cc52e55cfa935527511a05d86c2407250ea /sal | |
parent | 90bcb4b51918b26e840dc5102d2997fb48ee4341 (diff) |
sal: only allowed one unit-test per gnumakefile, so separate these
Diffstat (limited to 'sal')
-rw-r--r-- | sal/CppunitTest_sal_osl_file.mk | 24 | ||||
-rw-r--r-- | sal/CppunitTest_sal_osl_old_test_file.mk | 40 | ||||
-rw-r--r-- | sal/CppunitTest_sal_tcwf.mk | 40 | ||||
-rw-r--r-- | sal/Module_sal.mk | 2 |
4 files changed, 82 insertions, 24 deletions
diff --git a/sal/CppunitTest_sal_osl_file.mk b/sal/CppunitTest_sal_osl_file.mk index 464a153253f5..d118f25af79c 100644 --- a/sal/CppunitTest_sal_osl_file.mk +++ b/sal/CppunitTest_sal_osl_file.mk @@ -37,28 +37,4 @@ $(eval $(call gb_CppunitTest_add_linked_libs,sal_osl_file,\ $(gb_STDLIBS) \ )) -# 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,\ - sal/qa/osl/file/osl_old_test_file \ -)) - -$(eval $(call gb_CppunitTest_add_linked_libs,sal_osl_old_test_file,\ - sal \ - $(gb_STDLIBS) \ -)) - -# sal_tcwf -$(eval $(call gb_CppunitTest_CppunitTest,sal_tcwf)) - -$(eval $(call gb_CppunitTest_add_exception_objects,sal_tcwf,\ - sal/qa/osl/file/test_cpy_wrt_file \ -)) - -$(eval $(call gb_CppunitTest_add_linked_libs,sal_tcwf,\ - sal \ - $(gb_STDLIBS) \ -)) - # vim: set noet sw=4 ts=4: diff --git a/sal/CppunitTest_sal_osl_old_test_file.mk b/sal/CppunitTest_sal_osl_old_test_file.mk new file mode 100644 index 000000000000..30a561e80bf4 --- /dev/null +++ b/sal/CppunitTest_sal_osl_old_test_file.mk @@ -0,0 +1,40 @@ +# -*- 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. + +# 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,\ + sal/qa/osl/file/osl_old_test_file \ +)) + +$(eval $(call gb_CppunitTest_add_linked_libs,sal_osl_old_test_file,\ + sal \ + $(gb_STDLIBS) \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/sal/CppunitTest_sal_tcwf.mk b/sal/CppunitTest_sal_tcwf.mk new file mode 100644 index 000000000000..8dfe9fffa0ba --- /dev/null +++ b/sal/CppunitTest_sal_tcwf.mk @@ -0,0 +1,40 @@ +# -*- 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. + +# sal_tcwf +$(eval $(call gb_CppunitTest_CppunitTest,sal_tcwf)) + +$(eval $(call gb_CppunitTest_add_exception_objects,sal_tcwf,\ + sal/qa/osl/file/test_cpy_wrt_file \ +)) + +$(eval $(call gb_CppunitTest_add_linked_libs,sal_tcwf,\ + sal \ + $(gb_STDLIBS) \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/sal/Module_sal.mk b/sal/Module_sal.mk index 92950acefbaf..6d7d2c6d0890 100644 --- a/sal/Module_sal.mk +++ b/sal/Module_sal.mk @@ -48,6 +48,7 @@ $(eval $(call gb_Module_add_check_targets,sal,\ CppunitTest_sal_osl_file \ CppunitTest_sal_osl_module \ CppunitTest_sal_osl_mutex \ + CppunitTest_sal_osl_old_test_file \ CppunitTest_sal_osl_process \ CppunitTest_sal_osl_profile \ CppunitTest_sal_osl_security \ @@ -61,6 +62,7 @@ $(eval $(call gb_Module_add_check_targets,sal,\ CppunitTest_sal_rtl_ostringbuffer \ CppunitTest_sal_rtl_oustringbuffer \ CppunitTest_sal_rtl_strings \ + CppunitTest_sal_tcwf \ CppunitTest_sal_types \ )) |