mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-12 04:02:19 +01:00
This test suite has a handful of failing tests caused by two root problems: * death tests that don't work properly under musl * SafeSPrintf tests that have ambiguous overloads which are resolved wrongly I will work on fixing both upstream, but before that, we can enable virtually all of base_unittests by skipping the broken handful.
12 lines
412 B
Diff
12 lines
412 B
Diff
--- a/base/allocator/partition_allocator/partition_alloc_base/strings/safe_sprintf.h
|
|
+++ b/base/allocator/partition_allocator/partition_alloc_base/strings/safe_sprintf.h
|
|
@@ -178,6 +178,8 @@
|
|
integer.width = sizeof(long long);
|
|
}
|
|
|
|
+ Arg(std::nullptr_t np) : ptr(np), type(POINTER) {}
|
|
+
|
|
// A C-style text string.
|
|
Arg(const char* s) : str(s), type(STRING) {}
|
|
Arg(char* s) : str(s), type(STRING) {}
|