Commit 4e19bea9 authored by Nicholas Breen's avatar Nicholas Breen

Conditionally disable HardwareTopologyTest.NumaCacheSelfconsistency on hurd only

parent 3ffa93d7
......@@ -2,8 +2,11 @@ gromacs (2016-2) unstable; urgency=medium
* Accept DEB_BUILD_OPTIONS=nocheck for the "build-openmpi" target, which
was missing and causing m68k build failures. (Closes: #834786)
* patches/hurd-disable-numa-test.patch: On hurd-i386 only, this test fails
for what seem to be detection limitations rather than an actual problem,
so disable the test conditionally on that architecture.
-- Nicholas Breen <nbreen@debian.org> Thu, 18 Aug 2016 23:06:39 -0700
-- Nicholas Breen <nbreen@debian.org> Fri, 19 Aug 2016 08:52:08 +0200
gromacs (2016-1) unstable; urgency=low
......
Description: [hurd-i386] Disable HardwareTopologyTest.NumaCacheSelfconsistency
On Hurd only, this test reports zero memory. lstopo(1) looks normal,
so this is probably just a hwloc limitation; disable until solved properly
either here or in hwloc.
Author: Nicholas Breen
Last-Update: 2016-08-19
Index: gromacs-2016/src/gromacs/hardware/tests/hardwaretopology.cpp
===================================================================
--- gromacs-2016.orig/src/gromacs/hardware/tests/hardwaretopology.cpp
+++ gromacs-2016/src/gromacs/hardware/tests/hardwaretopology.cpp
@@ -164,10 +164,13 @@ TEST(HardwareTopologyTest, NumaCacheSelf
EXPECT_EQ(uniqueProcessorsinNumaNudes, hwTop.machine().logicalProcessorCount);
// We must have some memory in a numa node
+ // Doesn't detect memory on Hurd at the moment, it seems
+ #ifndef __GNU__
for (auto &n : hwTop.machine().numa.nodes)
{
EXPECT_GT(n.memory, 0);
}
+ #endif // __GNU__
// Check latency matrix size and contents
EXPECT_GT(hwTop.machine().numa.baseLatency, 0);
......@@ -3,3 +3,4 @@ copyright-file.patch
reproducible-builds.patch
doxygen.patch
disable-cpuinfotest.patch
hurd-disable-numa-test.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment