Don't run CompilerTest_o3tl_* with COMPILER_PLUGIN_TOOL=...
...similar to 2228203a82 "Don't run
CompilerTest_compilerplugins_clang with COMPILER_PLUGIN_TOOL=...", as otherwise
e.g., `make check COMPILER_PLUGIN_TOOL=fakebool` failed with
> o3tl/qa/compile-temporary.cxx:22:8: error: call to deleted function 'temporary'
> f(&o3tl::temporary(n)); // expected-error {{}} expected-note@o3tl/temporary.hxx:* 0+ {{}}
> ^~~~~~~~~~~~~~~
> include/o3tl/temporary.hxx:22:36: note: candidate function [with T = int] has been explicitly deleted
> template <typename T> constexpr T& temporary(T&) = delete;
> ^
> include/o3tl/temporary.hxx:21:36: note: candidate function [with T = int &]
> template <typename T> constexpr T& temporary(T&& x) { return x; }
> ^
Change-Id: I4dfa433708c064413f365375c84b85ced63c8d4e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94871
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
+3
-2
@@ -23,8 +23,9 @@ $(eval $(call gb_Module_add_targets,o3tl,\
|
|||||||
|
|
||||||
$(eval $(call gb_Module_add_check_targets,o3tl,\
|
$(eval $(call gb_Module_add_check_targets,o3tl,\
|
||||||
CppunitTest_o3tl_tests \
|
CppunitTest_o3tl_tests \
|
||||||
$(if $(COM_IS_CLANG),CompilerTest_o3tl_temporary) \
|
$(if $(COM_IS_CLANG),$(if $(COMPILER_EXTERNAL_TOOL)$(COMPILER_PLUGIN_TOOL),, \
|
||||||
$(if $(COM_IS_CLANG),CompilerTest_o3tl_unsafe_downcast) \
|
CompilerTest_o3tl_temporary \
|
||||||
|
CompilerTest_o3tl_unsafe_downcast)) \
|
||||||
))
|
))
|
||||||
|
|
||||||
# vim: set noet sw=4:
|
# vim: set noet sw=4:
|
||||||
|
|||||||
Reference in New Issue
Block a user