googletest-output-test.py (googletest-release-1.11.0) | : | googletest-output-test.py (googletest-release-1.12.0) | ||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
googletest_output_test.py --build_dir=BUILD/DIR --gengolden | googletest_output_test.py --build_dir=BUILD/DIR --gengolden | |||
where BUILD/DIR contains the built googletest-output-test_ file. | where BUILD/DIR contains the built googletest-output-test_ file. | |||
googletest_output_test.py --gengolden | googletest_output_test.py --gengolden | |||
googletest_output_test.py | googletest_output_test.py | |||
""" | """ | |||
import difflib | import difflib | |||
import os | import os | |||
import re | import re | |||
import sys | import sys | |||
import gtest_test_utils | from googletest.test import gtest_test_utils | |||
# The flag for generating the golden file | # The flag for generating the golden file | |||
GENGOLDEN_FLAG = '--gengolden' | GENGOLDEN_FLAG = '--gengolden' | |||
CATCH_EXCEPTIONS_ENV_VAR_NAME = 'GTEST_CATCH_EXCEPTIONS' | CATCH_EXCEPTIONS_ENV_VAR_NAME = 'GTEST_CATCH_EXCEPTIONS' | |||
# The flag indicating stacktraces are not supported | # The flag indicating stacktraces are not supported | |||
NO_STACKTRACE_SUPPORT_FLAG = '--no_stacktrace_support' | NO_STACKTRACE_SUPPORT_FLAG = '--no_stacktrace_support' | |||
IS_LINUX = os.name == 'posix' and os.uname()[0] == 'Linux' | IS_LINUX = os.name == 'posix' and os.uname()[0] == 'Linux' | |||
IS_WINDOWS = os.name == 'nt' | IS_WINDOWS = os.name == 'nt' | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |