зеркало из https://github.com/mozilla/gecko-dev.git
b24022116e
When passed the `--verbose` flag, `mach xpcshell-test` already prints the current directory, environment variables, and command used for the test. However, it prints them in Python syntax. This seems like a good thing to do, as it's a clear indication of what the test is actually doing. But if one wants to reproduce a problem by running the xpcshell command directly, it's an error-prone pain to convert from Python lists of strings to the Bourne shell syntax. Fortunately, the Python 2.7 `pipes` module has a function, `pipes.quote`, which produces properly quoted Unix shell commands, ready to be copied and pasted into one's terminal. Unfortunately, the xpcshell tests still clean up the $obj/temp/xpc-plugins-FOO directory, so this still isn't quite ready to go. Differential Revision: https://phabricator.services.mozilla.com/D10392 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
awsy | ||
config | ||
crashtest | ||
firefox-ui | ||
geckodriver | ||
gtest | ||
jsshell | ||
marionette | ||
mochitest | ||
modules | ||
mozbase | ||
mozharness | ||
profiles | ||
raptor | ||
runtimes | ||
specialpowers | ||
talos | ||
tools | ||
tps | ||
web-platform | ||
webdriver | ||
xpcshell | ||
README.txt | ||
cppunittest.ini | ||
mach_commands.py | ||
moz.build | ||
parse_build_tests_ccov.py | ||
remotecppunittests.py | ||
runcppunittests.py | ||
testsuite-targets.mk |
README.txt
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff