Commit 4b363a13 authored by Michael Hinton's avatar Michael Hinton Committed by Albert Gil
Browse files

Testsuite: Fix issue with get_gpu_count with multiple GPU types

Create generic function get_gres_count to get the node counts of any
GRES, not just GPUs.
Make get_gpu_count able to parse any combination of GRES names and
types.
Create get_gpu_count wrapper of get_gres_count for backwards
compatibility.
Expand the regex to not include newlines.
Rename variable gpu_count to gres_count.

Bug 7995
parent 2cdbb6f7
Supports Markdown
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