blob: ebe266d2a8cd989240e19ead0642dab85ad7b926 [file] [log] [blame]
Matúš Kukan8e743e42016-12-17 08:58:42 +01001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
3#
Michael Meeksd037b812026-03-26 15:06:16 +00004# This file is part of the Collabora Office project.
Matúš Kukan8e743e42016-12-17 08:58:42 +01005#
6# This Source Code Form is subject to the terms of the Mozilla Public
7# License, v. 2.0. If a copy of the MPL was not distributed with this
8# file, You can obtain one at http://mozilla.org/MPL/2.0/.
9#
10
11$(eval $(call gb_CppunitTest_CppunitTest,sal_osl))
12
13$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl,\
14 sal/qa/osl/condition/osl_Condition \
Jan-Marek Glogowski5a776362019-11-27 13:13:48 +010015 sal/qa/osl/file/osl_File \
Matúš Kukan8e743e42016-12-17 08:58:42 +010016 sal/qa/osl/file/osl_old_test_file \
17 sal/qa/osl/file/test_cpy_wrt_file \
18 sal/qa/osl/getsystempathfromfileurl/test-getsystempathfromfileurl \
19 $(if $(DISABLE_DYNLOADING),,sal/qa/osl/module/osl_Module) \
20 sal/qa/osl/mutex/osl_Mutex \
21 sal/qa/osl/pipe/osl_Pipe \
22 sal/qa/osl/process/osl_process \
23 sal/qa/osl/process/osl_Thread \
24 sal/qa/osl/profile/osl_old_testprofile \
25 sal/qa/osl/setthreadname/test-setthreadname \
Stephan Bergmann33bf4f02021-05-31 09:36:28 +020026 sal/qa/osl/socket \
Michael Meeks15d9d832026-02-20 18:41:40 +020027 sal/qa/osl/time/osl_Time \
Matúš Kukan8e743e42016-12-17 08:58:42 +010028))
29
30$(eval $(call gb_CppunitTest_use_libraries,sal_osl,\
31 sal \
Jan-Marek Glogowski5a776362019-11-27 13:13:48 +010032 tl \
Matúš Kukan8e743e42016-12-17 08:58:42 +010033))
34
35# the test uses the library created by Module_DLL
Jan-Marek Glogowskic859b4a2021-12-31 09:11:10 +010036$(call gb_CppunitTest_get_target,sal_osl) : $(call gb_CppunitTest_get_linktarget_target,Module_DLL)
Matúš Kukan8e743e42016-12-17 08:58:42 +010037
38$(eval $(call gb_CppunitTest_use_executable,sal_osl,osl_process_child))
39
40$(eval $(call gb_CppunitTest_use_externals,sal_osl,\
Matúš Kukan8e743e42016-12-17 08:58:42 +010041 valgrind \
42))
43
44# vim: set noet sw=4 ts=4: