|
| 1 | +From 268ffea51d623e9eff721a76a396b3feecaf7fa8 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Andrew Phelps <anphel@microsoft.com> |
| 3 | +Date: Thu, 5 Jun 2025 16:16:23 +0000 |
| 4 | +Subject: [PATCH] disable dmi in test-gather-topology |
| 5 | + |
| 6 | +test-gather-topology.sh test fails due to MemoryModule difference #719 |
| 7 | +https://github.com/open-mpi/hwloc/issues/719 |
| 8 | + |
| 9 | +--- |
| 10 | + tests/hwloc/linux/gather/test-gather-topology.sh.in | 4 ++-- |
| 11 | + 1 file changed, 2 insertions(+), 2 deletions(-) |
| 12 | + |
| 13 | +diff --git a/tests/hwloc/linux/gather/test-gather-topology.sh.in b/tests/hwloc/linux/gather/test-gather-topology.sh.in |
| 14 | +index 41f8dee57..219d8f7a9 100644 |
| 15 | +--- a/tests/hwloc/linux/gather/test-gather-topology.sh.in |
| 16 | ++++ b/tests/hwloc/linux/gather/test-gather-topology.sh.in |
| 17 | +@@ -62,7 +62,7 @@ export HWLOC_FSROOT=// |
| 18 | + |
| 19 | + echo "Saving current system topology to XML..." |
| 20 | + # ignore DAXDevice info attr because it won't appear in save2.xml unless we pass --io to gather below |
| 21 | +-if ! "$lstopo" --no-io -.xml | grep -v DAXDevice > "$tmpdir/save1.xml" ; then |
| 22 | ++if ! "$lstopo" --no-io --ignore misc -.xml | grep -v DAXDevice > "$tmpdir/save1.xml" ; then |
| 23 | + error "Failed" |
| 24 | + exit 1 |
| 25 | + fi |
| 26 | +@@ -85,7 +85,7 @@ export HWLOC_FSROOT="$tmpdir/save" |
| 27 | + rm -f "$tmpdir/save/proc/hwloc-nofile-info" |
| 28 | + |
| 29 | + echo "Saving tarball topology to XML..." |
| 30 | +-if ! "$lstopo" --no-io "$tmpdir/save2.xml" ; then |
| 31 | ++if ! "$lstopo" --no-io --ignore misc "$tmpdir/save2.xml" ; then |
| 32 | + error "Failed" |
| 33 | + exit 1 |
| 34 | + fi |
| 35 | +-- |
| 36 | +2.45.3 |
0 commit comments