jpeach opened a new issue, #9773:
URL: https://github.com/apache/trafficserver/issues/9773

   The [CLI documentation](https://autestsuite.bitbucket.io/usage/cli.html) 
says that there is a "list" command to autest that will simply discover and 
list the tests. However, experimentally, autest always seems to execute the 
"run" command.
   
   ```
   $ ./autest.sh --ats-bin=/opt/ats/bin list
   Python 3.6 or newer detected!
   python3-dev/devel detected!
   pipenv detected!
   Using the pre-existing virtual environment.
   Environment config finished. Running AuTest...
   usage: autest [-h] {run,list} ...
   autest: error: unrecognized arguments: list
   ```
   
   Notice the "pipenv run autest" doesn't use the "run" subcommand.
   
   ```
   $ bash -x ./autest.sh --ats-bin=/opt/ats/bin --filter=polite_hook_wait
   + ./prepare_proxy_verifier.sh
   ++ dirname ./autest.sh
   + pushd .
   ++ pwd
   + export PYTHONPATH=/Users/jpeach/src/trafficserver/tests:
   + PYTHONPATH=/Users/jpeach/src/trafficserver/tests:
   + ./test-env-check.sh
   Python 3.6 or newer detected!
   python3-dev/devel detected!
   pipenv detected!
   Using the pre-existing virtual environment.
   + echo 'Environment config finished. Running AuTest...'
   Environment config finished. Running AuTest...
   + pipenv run autest -D gold_tests --ats-bin=/opt/ats/bin 
--filter=polite_hook_wait
   Running Test polite_hook_wait:... Passed
   
   Generating Report: --------------
   Total of 1 test
     Unknown: 0
     Exception: 0
     Failed: 0
     Warning: 0
     Skipped: 0
     Passed: 1
   + ret=0
   + popd
   + exit 0
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to