Skip to content
Lucas Meneghel Rodrigues edited this page Sep 22, 2011 · 3 revisions

Test Management - atest test

The following actions are available to manage the tests:

# atest test help
usage: atest test list [options] [tests]

options:
  -h, --help            show this help message and exit
  -g, --debug           Print debugging information
  --kill-on-failure     Stop at the first failure
  --parse               Print the output using colon separated key=value
                        fields
  -v, --verbose
  -w WEB_SERVER, --web=WEB_SERVER
                        Specify the autotest server to talk to
  -T TEST_FLIST, --tlist=TEST_FLIST
                        File listing the tests

Listing Tests

# atest test list help
usage: atest test list [options] [tests]

options:
  -h, --help            show this help message and exit
  -g, --debug           Print debugging information
  --kill-on-failure     Stop at the first failure
  --parse               Print the output using colon separated key=value
                        fields
  -v, --verbose
  -w WEB_SERVER, --web=WEB_SERVER
                        Specify the autotest server to talk to
  -T TEST_FLIST, --tlist=TEST_FLIST
                        File listing the tests
  -d, --description     Display the test descriptions

You can list all the tests, or specify a few you'd like information on.

# atest test list
Name       Test Type  Test Class
sleeptest  Client     Canned Test Sets
dbench     Client     Canned Test Sets
Kernbench  Client     Canned Test Sets

# Specifying some test names, with descriptions:
# atest test list Kernbench,dbench -d
Name       Test Type  Test Class        Description
Kernbench  Client     Canned Test Sets  unknown
dbench     Client     Canned Test Sets  dbench is one of our standard kernel stress tests.  It produces filesystem
load like netbench originally did, but involves no network system calls.
Its results include throughput rates, which can be used for performance
analysis.

More information on dbench can be found here:
http://samba.org/ftp/tridge/dbench/README

Clone this wiki locally