![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Classes | |
| class | DirectoryFinder |
Functions | |
| os_name () | |
| RunCommandPropagateErr (cmd, stdout_has_errors=False, exit_status_on_error=None) | |
| GetBooleanGnArg (arg_name, build_dir, verbose=False) | |
| PrintWithTime (s) | |
| PrintErr (s) | |
| testing.tools.common.GetBooleanGnArg | ( | arg_name, | |
| build_dir, | |||
| verbose = False ) |
| testing.tools.common.PrintErr | ( | s | ) |
Prints s to stderr.
Definition at line 122 of file common.py.
References print().
Referenced by RunCommandPropagateErr().
| testing.tools.common.PrintWithTime | ( | s | ) |
| testing.tools.common.RunCommandPropagateErr | ( | cmd, | |
| stdout_has_errors = False, | |||
| exit_status_on_error = None ) |
Run a command as a subprocess.
Errors in that subprocess are printed out if it returns an error exit code.
Args:
cmd: Command to run as a list of strings.
stdout_has_errors: Whether to print stdout instead of stderr on an error
exit.
exit_status_on_error: If specified, upon an error in the subprocess the
caller script exits immediately with the given status.
Definition at line 26 of file common.py.
References PrintErr().