tests/amdgpu: Add all 9 options to the help output
Add -s and -t to the help output, as well as sort the options output alphabetically. v1: Fix a spelling in the subject of this commit. Cc: Alex Deucher <Alexander.Deucher@amd.com> Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>main
parent
25e08fd9ae
commit
41121251de
|
@ -298,14 +298,16 @@ static void display_test_suites(void)
|
||||||
static const char usage[] =
|
static const char usage[] =
|
||||||
"Usage: %s [-hlpr] [-s <suite id>] [-t <test id>] [-f] "
|
"Usage: %s [-hlpr] [-s <suite id>] [-t <test id>] [-f] "
|
||||||
"[-b <pci_bus_id>] [-d <pci_device_id>]\n"
|
"[-b <pci_bus_id>] [-d <pci_device_id>]\n"
|
||||||
"where:\n"
|
"Where,\n"
|
||||||
" l - Display all suites and their tests\n"
|
" -b Specify device's PCI bus id to run tests\n"
|
||||||
" r - Run the tests on render node\n"
|
" -d Specify device's PCI device id to run tests (optional)\n"
|
||||||
" b - Specify device's PCI bus id to run tests\n"
|
" -f Force executing inactive suite or test\n"
|
||||||
" d - Specify device's PCI device id to run tests (optional)\n"
|
" -h Display this help\n"
|
||||||
" p - Display information of AMDGPU devices in system\n"
|
" -l Display all test suites and their tests\n"
|
||||||
" f - Force executing inactive suite or test\n"
|
" -p Display information of AMDGPU devices in system\n"
|
||||||
" h - Display this help\n";
|
" -r Run the tests on render node\n"
|
||||||
|
" -s <s> Enable only test suite <s>\n"
|
||||||
|
" -t <t> Enable only test <t> of test suite <s>\n";
|
||||||
/** Specified options strings for getopt */
|
/** Specified options strings for getopt */
|
||||||
static const char options[] = "hlrps:t:b:d:f";
|
static const char options[] = "hlrps:t:b:d:f";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue