tests/amdgpu: Allow to exclude a test or a suite of tests
authorLuben Tuikov <luben.tuikov@amd.com>
Tue, 21 Mar 2023 12:51:50 +0000 (08:51 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Fri, 24 Mar 2023 13:47:21 +0000 (13:47 +0000)
commit28d9a3c4fb4c99aafc31b288b3f735e19e728d64
tree229d45eef58fc25f880b6b1850ec43a6f1816ab4
parent41121251de435e621a10627d4bbe08c436b32b4b
tests/amdgpu: Allow to exclude a test or a suite of tests

Add the command line argument -e s[.t] to exclude (disable) suite s, or to
exclude suite s test t.

This is useful for instance to run the Basic Suite, but disable the GPU reset
test, on the command line, like this:

    amdgpu_tests -s 1 -e 1.13

This option can be specified more than once on the command line, in order to
exclude more than one suite and/or suite and test combination from being run.

Cc: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
tests/amdgpu/amdgpu_test.c