Skip to content

Commit 06a5419

Browse files
committed
tests/type_sscanf: test a synthetic case with 2 levels of groups
Refs #715 Signed-off-by: Brice Goglin <[email protected]> (cherry picked from commit c1d80cc)
1 parent ac0cf84 commit 06a5419

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/hwloc/hwloc_type_sscanf.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2016-2020 Inria. All rights reserved.
2+
* Copyright © 2016-2025 Inria. All rights reserved.
33
* See COPYING in top-level directory.
44
*/
55

@@ -163,6 +163,10 @@ int main(void)
163163
printf("testing the local topology ...\n");
164164
check_topo();
165165

166+
printf("testing synthetic topology group:2 group:2 pu:2 ...\n");
167+
putenv((char *) "HWLOC_SYNTHETIC=group:2 group:2 pu:2");
168+
check_topo();
169+
166170
printf("testing topology 32em64t-2n8c2t-pci-wholeio.xml ...\n");
167171
putenv((char *) "HWLOC_XMLFILE=" XMLTESTDIR "/32em64t-2n8c2t-pci-wholeio.xml");
168172
check_topo();

0 commit comments

Comments
 (0)