CTest: Add version field to resource spec file

Fixes: #20007
This commit is contained in:
Kyle Edwards
2019-11-22 13:43:32 -05:00
parent 99f0881d8c
commit f9f294f5fa
37 changed files with 224 additions and 0 deletions

View File

@@ -1345,6 +1345,10 @@ the following resource specification file:
.. code-block:: json
{
"version": {
"major": 1,
"minor": 0
},
"local": [
{
"gpus": [
@@ -1376,6 +1380,11 @@ the following resource specification file:
The members are:
``version``
An object containing a ``major`` integer field and a ``minor`` integer field.
Currently, the only supported version is major ``1``, minor ``0``. Any other
value is an error.
``local``
A JSON array of resource sets present on the system. Currently, this array
is restricted to being of size 1.