fix test.py comments

This commit is contained in:
Tom Henderson
2012-04-02 06:57:07 -07:00
parent 65ae1b74be
commit 90bb099e38

12
test.py
View File

@@ -906,8 +906,8 @@ class worker_thread(threading.Thread):
if job.is_example or job.is_pyexample:
#
# If we have an example, the shell command is all we need to
# know. It will be something like "examples/udp-echo" or
# "examples/mixed-wireless.py"
# know. It will be something like "examples/udp/udp-echo" or
# "examples/wireless/mixed-wireless.py"
#
(job.returncode, standard_out, standard_err, et) = run_job_synchronously(job.shell_command,
job.cwd, options.valgrind, job.is_pyexample, job.build_path)
@@ -1140,10 +1140,10 @@ def run_tests():
# ./test,py: run all of the suites and examples
# ./test.py --constrain=core: run all of the suites of all kinds
# ./test.py --constrain=unit: run all unit suites
# ./test,py --suite=some-test-suite: run a single suite
# ./test,py --example=udp/udp-echo: run no test suites
# ./test,py --pyexample=wireless/mixed-wireless.py: run no test suites
# ./test,py --suite=some-suite --example=some-example: run the single suite
# ./test.py --suite=some-test-suite: run a single suite
# ./test.py --example=examples/udp/udp-echo: run single example
# ./test.py --pyexample=examples/wireless/mixed-wireless.py: run python example
# ./test.py --suite=some-suite --example=some-example: run the single suite
#
# We can also use the --constrain option to provide an ordering of test
# execution quite easily.