![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
| class | ThrowOnFailureTest |
Functions | |
| def | SetEnvVar |
| def | Run |
Variables | |
| string | __author__ 'wan@google.com (Zhanyong Wan)' |
| string | THROW_ON_FAILURE 'gtest_throw_on_failure' |
| tuple | EXE_PATH |
| def gtest_throw_on_failure_test.Run | ( | command | ) |
Runs a command; returns True/False if its exit code is/isn't 0.
Definition at line 70 of file gtest_throw_on_failure_test.py.
View newest version in sPHENIX GitHub at line 70 of file gtest_throw_on_failure_test.py
References join(), and print().
Referenced by gtest_throw_on_failure_test.ThrowOnFailureTest.RunAndVerify().
Here is the call graph for this function:
Here is the caller graph for this function:| def 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.
Definition at line 58 of file gtest_throw_on_failure_test.py.
View newest version in sPHENIX GitHub at line 58 of file gtest_throw_on_failure_test.py
Referenced by gtest_throw_on_failure_test.ThrowOnFailureTest.RunAndVerify().
Here is the caller graph for this function:| string gtest_throw_on_failure_test.__author__ 'wan@google.com (Zhanyong Wan)' |
Definition at line 38 of file gtest_throw_on_failure_test.py.
View newest version in sPHENIX GitHub at line 38 of file gtest_throw_on_failure_test.py
| tuple gtest_throw_on_failure_test.EXE_PATH |
Definition at line 51 of file gtest_throw_on_failure_test.py.
View newest version in sPHENIX GitHub at line 51 of file gtest_throw_on_failure_test.py
| string gtest_throw_on_failure_test.THROW_ON_FAILURE 'gtest_throw_on_failure' |
Definition at line 47 of file gtest_throw_on_failure_test.py.
View newest version in sPHENIX GitHub at line 47 of file gtest_throw_on_failure_test.py