|
Monero
|
Classes | |
| class | ThrowOnFailureTest |
Functions | |
| SetEnvVar (env_var, value) | |
| Run (command) | |
Variables | |
| str | __author__ = 'wan@google.com (Zhanyong Wan)' |
| str | THROW_ON_FAILURE = 'gtest_throw_on_failure' |
| EXE_PATH | |
Tests Google Test's throw-on-failure mode with exceptions disabled. This script invokes gtest_throw_on_failure_test_ (a program written with Google Test) with different environments and command line flags.
| gtest_throw_on_failure_test.Run | ( | command | ) |
Runs a command; returns True/False if its exit code is/isn't 0.
| gtest_throw_on_failure_test.SetEnvVar | ( | env_var, | |
| value ) |
Sets an environment variable to a given value; unsets it when the given value is None.
|
private |
| gtest_throw_on_failure_test.EXE_PATH |
| str gtest_throw_on_failure_test.THROW_ON_FAILURE = 'gtest_throw_on_failure' |