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:
parent
b149c61ba9
commit
8ceb988dcc
1 changed files with 3 additions and 2 deletions
|
@ -23,8 +23,9 @@ $(eval $(call gb_Module_add_targets,o3tl,\
|
|||
|
||||
$(eval $(call gb_Module_add_check_targets,o3tl,\
|
||||
CppunitTest_o3tl_tests \
|
||||
$(if $(COM_IS_CLANG),CompilerTest_o3tl_temporary) \
|
||||
$(if $(COM_IS_CLANG),CompilerTest_o3tl_unsafe_downcast) \
|
||||
$(if $(COM_IS_CLANG),$(if $(COMPILER_EXTERNAL_TOOL)$(COMPILER_PLUGIN_TOOL),, \
|
||||
CompilerTest_o3tl_temporary \
|
||||
CompilerTest_o3tl_unsafe_downcast)) \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4:
|
||||
|
|
Loading…
Reference in a new issue