googletest-throw-on-failure-test.py (googletest-release-1.11.0) | : | googletest-throw-on-failure-test.py (googletest-release-1.12.0) | ||
---|---|---|---|---|
skipping to change at line 39 | skipping to change at line 39 | |||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |||
"""Tests Google Test's throw-on-failure mode with exceptions disabled. | """Tests Google Test's throw-on-failure mode with exceptions disabled. | |||
This script invokes googletest-throw-on-failure-test_ (a program written with | This script invokes googletest-throw-on-failure-test_ (a program written with | |||
Google Test) with different environments and command line flags. | Google Test) with different environments and command line flags. | |||
""" | """ | |||
import os | import os | |||
import gtest_test_utils | from googletest.test import gtest_test_utils | |||
# Constants. | # Constants. | |||
# The command line flag for enabling/disabling the throw-on-failure mode. | # The command line flag for enabling/disabling the throw-on-failure mode. | |||
THROW_ON_FAILURE = 'gtest_throw_on_failure' | THROW_ON_FAILURE = 'gtest_throw_on_failure' | |||
# Path to the googletest-throw-on-failure-test_ program, compiled with | # Path to the googletest-throw-on-failure-test_ program, compiled with | |||
# exceptions disabled. | # exceptions disabled. | |||
EXE_PATH = gtest_test_utils.GetTestExecutablePath( | EXE_PATH = gtest_test_utils.GetTestExecutablePath( | |||
'googletest-throw-on-failure-test_') | 'googletest-throw-on-failure-test_') | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |