Skip to content

Commit c1d80cc

Browse files
committed
tests/type_sscanf: test a synthetic case with 2 levels of groups
Refs #715 Signed-off-by: Brice Goglin <[email protected]>
1 parent 3e82e69 commit c1d80cc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/hwloc/hwloc_type_sscanf.c

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

@@ -249,6 +249,10 @@ int main(void)
249249
printf("testing the local topology ...\n");
250250
check_topo();
251251

252+
printf("testing synthetic topology group:2 group:2 pu:2 ...\n");
253+
putenv((char *) "HWLOC_SYNTHETIC=group:2 group:2 pu:2");
254+
check_topo();
255+
252256
printf("testing topology 32em64t-2n8c2t-pci-wholeio.xml ...\n");
253257
putenv((char *) "HWLOC_XMLFILE=" XMLTESTDIR "/32em64t-2n8c2t-pci-wholeio.xml");
254258
check_topo();

0 commit comments

Comments
 (0)