Skip to content

Commit ec2429d

Browse files
Before cleanup
1 parent 9e5ba6e commit ec2429d

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

test/memspaces/memspace_fixtures.hpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ struct memspaceGetTest : ::numaNodesTest,
7474
ASSERT_NE(hMemspace, nullptr);
7575
}
7676

77-
public:
78-
static void SetUpTestSuite() {
79-
//ASSERT_TRUE(false) << "YOU SHALL NOT PASS";
80-
GTEST_SKIP() << "SKIP ME BABY";
81-
}
77+
// public:
78+
// static void SetUpTestSuite() {
79+
// //ASSERT_TRUE(false) << "YOU SHALL NOT PASS";
80+
// GTEST_SKIP() << "SKIP ME BABY";
81+
// }
8282

8383
umf_const_memspace_handle_t hMemspace = nullptr;
8484
};
@@ -87,15 +87,15 @@ struct memspaceProviderTest : ::memspaceGetTest {
8787
void SetUp() override {
8888
::memspaceGetTest::SetUp();
8989

90-
// auto [isQuerySupported, memspaceGet] = ::memspaceGetTest::GetParam();
91-
// bool restinpiss = isQuerySupported(nodeIds.front());
90+
auto [isQuerySupported, memspaceGet] = ::memspaceGetTest::GetParam();
91+
bool restinpiss = isQuerySupported(nodeIds.front());
9292

93-
// if (!restinpiss || numa_available() == -1 || numa_all_nodes_ptr == nullptr) {
94-
// GTEST_SKIP() << "Dkippig 2222";
95-
// }
96-
if (::memspaceGetTest::IsSkipped()) {
97-
GTEST_SKIP() << "SIPPING I WAS WROOONG";
93+
if (!restinpiss || numa_available() == -1 || numa_all_nodes_ptr == nullptr) {
94+
GTEST_SKIP() << "Dkippig 2222";
9895
}
96+
// if (::memspaceGetTest::IsSkipped()) {
97+
// GTEST_SKIP() << "SIPPING I WAS WROOONG";
98+
// }
9999

100100
umf_result_t ret =
101101
umfMemoryProviderCreateFromMemspace(hMemspace, nullptr, &hProvider);

test/memspaces/memspace_lowest_latency.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static bool canQueryLatency(size_t nodeId) {
3737
}
3838
ret = hwloc_topology_load(topology);
3939
//UT_ASSERTeq(ret, 0);
40-
if (!GTEST_OUT_NE(ret, 0)) {
40+
if (!GTEST_OUT_EQ(ret, 0)) {
4141
return false;
4242
}
4343

0 commit comments

Comments
 (0)