Work around bazel crap
This commit is contained in:
parent
eb9ebc31a7
commit
248ad447b1
@ -21,5 +21,8 @@ cc_test(
|
||||
"unit/lib/formatting.cpp",
|
||||
"unit/lib/nullable.cpp"
|
||||
],
|
||||
local_defines = [
|
||||
"CPPTRACE_NO_TEST_SNIPPETS"
|
||||
],
|
||||
linkstatic = 1,
|
||||
)
|
||||
@ -96,6 +96,7 @@ TEST(FormatterTest, ObjectAddresses) {
|
||||
);
|
||||
}
|
||||
|
||||
#ifndef CPPTRACE_NO_TEST_SNIPPETS
|
||||
TEST(FormatterTest, Snippets) {
|
||||
cpptrace::stacktrace trace;
|
||||
unsigned line = __LINE__ + 1;
|
||||
@ -167,6 +168,7 @@ TEST(FormatterTest, Snippets) {
|
||||
)
|
||||
);
|
||||
}
|
||||
#endif
|
||||
|
||||
TEST(FormatterTest, Colors) {
|
||||
auto formatter = cpptrace::formatter{}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user