summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-03-28 09:43:48 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-03-28 09:46:49 +0200
commit2fc2a3542988e0dbf71163b40d5fe495a6789d40 (patch)
treeafe67b0a71f26a81347e58790212e2ab60efd3d1 /sal
parentbef64b011337fa60b27339a00c30303143b4397d (diff)
sal: add dependency for unit test, fix typo in comment
Diffstat (limited to 'sal')
-rw-r--r--sal/CppunitTest_sal_osl_process.mk4
-rw-r--r--sal/Executable_osl_process_child.mk4
2 files changed, 6 insertions, 2 deletions
diff --git a/sal/CppunitTest_sal_osl_process.mk b/sal/CppunitTest_sal_osl_process.mk
index 257d065244e8..aad9405714e0 100644
--- a/sal/CppunitTest_sal_osl_process.mk
+++ b/sal/CppunitTest_sal_osl_process.mk
@@ -36,4 +36,8 @@ $(eval $(call gb_CppunitTest_add_linked_libs,sal_osl_process,\
$(gb_STDLIBS) \
))
+# Depend on to be tested executable
+$(call gb_CppunitTest_get_target,sal_osl_process) : \
+ $(call gb_Executable_get_target,osl_process_child)
+
# vim: set noet sw=4 ts=4:
diff --git a/sal/Executable_osl_process_child.mk b/sal/Executable_osl_process_child.mk
index 3e538ff6e9ab..fb348fab3573 100644
--- a/sal/Executable_osl_process_child.mk
+++ b/sal/Executable_osl_process_child.mk
@@ -25,7 +25,7 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
-# This executable is only required by unit-test sal_osl_profile.
+# This executable is required only by sal_osl_process test.
# See qa/osl/process/osl_process.cxx:411
$(eval $(call gb_Executable_Executable,osl_process_child))
@@ -38,7 +38,7 @@ $(eval $(call gb_Executable_add_exception_objects,osl_process_child,\
sal/qa/osl/process/osl_process_child \
))
-# Also this batch file is required by sal_osl_profile.
+# Also this batch file is required by sal_osl_process.
# See qa/osl/process/osl_process.cxx:675
ifeq ($(OS),WNT)
BATCH_FILE:=batch.bat