summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2020-12-02 19:47:44 (GMT)
committervslashg <gfalcon@google.com>2020-12-02 23:23:54 (GMT)
commit141e95949697e459739c8005cac5286e3dd63620 (patch)
tree1e01767a893abc90187400093bbffd08e542baa0
parent73979ee1b9892c6fe11c7f4ab5358040c3108622 (diff)
downloadgoogletest-141e95949697e459739c8005cac5286e3dd63620.zip
googletest-141e95949697e459739c8005cac5286e3dd63620.tar.gz
googletest-141e95949697e459739c8005cac5286e3dd63620.tar.bz2
Googletest exportrefs/pull/3151/head
Remove `status` from our internal Subprocess utility. This facility is unused, so better to just remove it than figure out what its cross-OS semantics should be. PiperOrigin-RevId: 345279290
-rwxr-xr-xgoogletest/test/gtest_test_utils.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/googletest/test/gtest_test_utils.py b/googletest/test/gtest_test_utils.py
index 7a829fb..d0c2446 100755
--- a/googletest/test/gtest_test_utils.py
+++ b/googletest/test/gtest_test_utils.py
@@ -217,7 +217,6 @@ class Subprocess:
following attributes:
terminated_by_signal True if and only if the child process has been
terminated by a signal.
- signal Sygnal that terminated the child process.
exited True if and only if the child process exited
normally.
exit_code The code with which the child process exited.
@@ -292,7 +291,6 @@ class Subprocess:
if bool(self._return_code & 0x80000000):
self.terminated_by_signal = True
self.exited = False
- self.signal = (~self._return_code & 0x7fffffff) + 1
else:
self.terminated_by_signal = False
self.exited = True