diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-10 23:10:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-11 09:06:54 +0100 |
commit | 500cbd2718901ea51b61de36d858cde650196a55 (patch) | |
tree | bfd3353a0b79fdd042f7107313aa7da1e45196d6 /sw/CppunitTest_sw_swdoc_test.mk | |
parent | 51520337fcc38af453bc5f2ef2e75cdc733c52c7 (diff) |
make the test depend on the resources, rather than the .cxx
Diffstat (limited to 'sw/CppunitTest_sw_swdoc_test.mk')
-rw-r--r-- | sw/CppunitTest_sw_swdoc_test.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/CppunitTest_sw_swdoc_test.mk b/sw/CppunitTest_sw_swdoc_test.mk index ff5feca7d965..f1c23360b99d 100644 --- a/sw/CppunitTest_sw_swdoc_test.mk +++ b/sw/CppunitTest_sw_swdoc_test.mk @@ -34,8 +34,6 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sw_swdoc_test, \ sw/qa/core/Test-BigPtrArray \ )) -$(call gb_CxxObject_get_target,sw/qa/core/swdoc-test): $(WORKDIR)/AllLangRes/sw - $(eval $(call gb_CppunitTest_add_library_objects,sw_swdoc_test,sw)) $(eval $(call gb_CppunitTest_add_linked_libs,sw_swdoc_test, \ @@ -119,4 +117,8 @@ $(eval $(call gb_RdbTarget_add_old_components,sw_swdoc_test,\ ucpfile1 \ )) +# we need to explicitly depend on the sw resource files needed at unit-test +# runtime +$(call gb_CppunitTest_get_target,sw_swdoc_test) : $(WORKDIR)/AllLangRes/sw + # vim: set noet sw=4: |