Skip to content

Commit cc4ac38

Browse files
author
ndenoyelle
committed
WIP tests hwloc-distrib
1 parent 15e8be8 commit cc4ac38

File tree

1 file changed

+12
-23
lines changed

1 file changed

+12
-23
lines changed

utils/hwloc/test-hwloc-distrib.sh.in

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -35,38 +35,27 @@ file="$tmp/test-hwloc-distrib.output"
3535

3636
set -e
3737
(
38-
$distrib --if synthetic --input "2 2 2" 2
38+
$distrib pu --if synthetic --input "4 4 4 4" -n 8
3939
echo
40-
$distrib --if synthetic --input "2 2 2" 4
40+
$distrib pu --if synthetic --input "1 2 2 2" -n 32
4141
echo
42-
$distrib --if synthetic --input "2 2 2" 8
42+
$distrib pu --if synthetic --input "3 3 3" -n 4 --single
4343
echo
44-
$distrib --if synthetic --input "2 2 2" 13
44+
$distrib pu --if synthetic --input "3 3 3" -n 4 --reverse
4545
echo
46-
$distrib --if synthetic --input "2 2 2" 16
46+
$distrib pu --if synthetic --input "3 3 3" -n 4 --logical-index
4747
echo
48-
$distrib --if synthetic --input "3 3 3" 4
48+
$distrib pu --if synthetic --input "3 3 3" -n 4 --physical-index
4949
echo
50-
$distrib --if synthetic --input "3 3 3" 4 --single
50+
$distrib pu --if synthetic --input "3 3 3" -n 4 --from 0
5151
echo
52-
$distrib --if synthetic --input "3 3 3" 4 --reverse
52+
$distrib pu:core:package --if synthetic --input "4 4 4 4" -n 8
53+
echo
54+
$distrib scatter pu --if synthetic --input "4 4 4 4" -n 19
5355
echo
54-
$distrib --if synthetic --input "3 3 3" 4 --reverse --single
56+
$distrib round-robin pu --if synthetic --input "2 2 2 2" -n 9
5557
echo
56-
$distrib --if synthetic --input "4 4" 2
57-
echo
58-
$distrib --if synthetic --input "4 4" 2 --single
59-
echo
60-
$distrib --if synthetic --input "4 4" 2 --reverse --single
61-
echo
62-
$distrib --if synthetic --input "4 4 4 4" 19
63-
echo
64-
65-
$distrib --if synthetic --input "2 2 2 2" 9
66-
echo
67-
$distrib --if synthetic --input "2 2 2 2" --from pu 9
68-
echo
69-
$distrib --if synthetic --input "2 2 2 2" --to core 9
58+
$distrib pu:core:package --if synthetic --input "4 4 4 4" -n 8 --logical-index --single --reverse --from 8
7059
echo
7160
) > "$file"
7261
@DIFF@ @HWLOC_DIFF_U@ @HWLOC_DIFF_W@ $srcdir/test-hwloc-distrib.output "$file"

0 commit comments

Comments
 (0)