Skip to content

Commit 44ce750

Browse files
Attempt to fix build bot failures.
- Added to CoreTests in BUILD.gn - Hiding DataAggregator std out/err outputs
1 parent d3ce4aa commit 44ce750

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

bolt/unittests/Core/MemoryMaps.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ TEST_P(MemoryMapsTester, ParseMultipleSegments) {
9898
BC->SegmentMapInfo[0x31d0000] =
9999
SegmentInfo{0x31d0000, 0x51ac82c, 0x31d0000, 0x3000000, 0x200000};
100100

101+
// Dont show DataAggregators out/err output.
102+
testing::internal::CaptureStdout();
103+
testing::internal::CaptureStderr();
104+
101105
DataAggregator DA("");
102106
BC->setFilename(Filename);
103107
Error Err = DA.preprocessProfile(*BC);

llvm/utils/gn/secondary/bolt/unittests/Core/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ unittest("CoreTests") {
1515
"BinaryContext.cpp",
1616
"DynoStats.cpp",
1717
"MCPlusBuilder.cpp",
18+
"MemoryMaps.cpp",
1819
]
1920

2021
defines = []

0 commit comments

Comments
 (0)