Skip to content

Commit bcdc343

Browse files
Suggested error message and failure
1 parent c566eef commit bcdc343

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/memspaces/memspace_fixtures.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ struct memspaceGetTest : ::numaNodesTest,
6666
auto [isQuerySupported, memspaceGet] = this->GetParam();
6767

6868
if (!isQuerySupported(nodeIds.front())) {
69-
GTEST_SKIP() << "Skipping 1";
69+
// GTEST_SKIP() << "Skipping 1";
70+
GTEST_FAIL() << "Intended failure from query";
7071
}
7172

7273
hMemspace = memspaceGet();

test/memspaces/memspace_lowest_latency.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ static bool canQueryLatency(size_t nodeId) {
2626
if (ret == 0) {
2727
//ADD_FAILURE();
2828
// EXPECT_NE(ret, 0);
29+
std::cerr << "stderr ret is not 0 at line: " << __LINE__ << " in file: " << __FILE__ << std::endl;
30+
2931
return false;
3032
}
3133
ret = hwloc_topology_load(topology);

0 commit comments

Comments
 (0)