Summary: | devel/googletest: 1.12.1 fails "make test" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ross McKelvie <ross> | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||||
Status: | New --- | ||||||||
Severity: | Affects Only Me | CC: | diizzy, mi, sdalu | ||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Created attachment 218774 [details] ctest -V output (compressed) "gmock-matchers_test" appears after ports r520417 and "googletest-port-test" appears on -CURRENT. The following tests FAILED: 9 - gmock-matchers_test (Failed) 28 - googletest-port-test (Failed) 52 - gtest_help_test (Failed) 9: [ RUN ] WhenDynamicCastToTest.AmbiguousCast 9: googlemock/test/gmock-matchers_test.cc:3465: Failure 9: Value of: as_base_ptr 9: Expected: when dynamic_cast to testing::gmock_matchers_test::(anonymous namespace)::AmbiguousCastTypes::VirtualDerived*, is NULL 9: Actual: 0x7fffffffe748, 0x7fffffffe748 9: [ FAILED ] WhenDynamicCastToTest.AmbiguousCast (0 ms) 28: [ RUN ] RETest/0.ImplicitConstructorWorks 28: googletest/src/gtest-port.cc:758: Failure 28: Value of: is_valid_ 28: Actual: false 28: Expected: true 28: Regular expression ".*(\w+)" is not a valid POSIX Extended regular expression. 28: [ FAILED ] RETest/0.ImplicitConstructorWorks, where TypeParam = std::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > (1 ms) 28: [ RUN ] RETest/1.ImplicitConstructorWorks 28: googletest/src/gtest-port.cc:758: Failure 28: Value of: is_valid_ 28: Actual: false 28: Expected: true 28: Regular expression ".*(\w+)" is not a valid POSIX Extended regular expression. 28: [ FAILED ] RETest/1.ImplicitConstructorWorks, where TypeParam = char const* (0 ms) 52: Test command: python3.7 "googletest/test/gtest_help_test.py" "--build_dir=../.build/googletest" 52: Test timeout computed to be: 10000000 52: googletest/test/gtest_help_test.py:110: DeprecationWarning: Please use assertEqual instead. 52: self.assertEquals(0, exit_code) 52: googletest/test/gtest_help_test.py:111: DeprecationWarning: Please use assertTrue instead. 52: self.assert_(HELP_REGEX.search(output), output) 52: FFFFFF.. 52: ====================================================================== 52: FAIL: testPrintsHelpWithFullFlag (__main__.GTestHelpTest) 52: ---------------------------------------------------------------------- 52: Traceback (most recent call last): 52: File "googletest/test/gtest_help_test.py", line 138, in testPrintsHelpWithFullFlag 52: self.TestHelpFlag('--help') 52: File "googletest/test/gtest_help_test.py", line 116, in TestHelpFlag 52: self.assert_(STREAM_RESULT_TO_FLAG not in output, output) 52: AssertionError: False is not true : Running main() from googletest/src/gtest_main.cc 52: This program contains tests written using Google Test. You can use the 52: following command line flags to control its behavior: 52: 52: Test Selection: 52: --gtest_list_tests 52: List the names of all tests instead of running them. The name of 52: TEST(Foo, Bar) is "Foo.Bar". 52: --gtest_filter=POSTIVE_PATTERNS[-NEGATIVE_PATTERNS] 52: Run only the tests whose name matches one of the positive patterns but 52: none of the negative patterns. '?' matches any single character; '*' 52: matches any substring; ':' separates two patterns. 52: --gtest_also_run_disabled_tests 52: Run all disabled tests too. [...] 52: ====================================================================== 52: FAIL: testPrintsHelpWithIncorrectFlagStyle (__main__.GTestHelpTest) 52: ---------------------------------------------------------------------- 52: Traceback (most recent call last): 52: File "googletest/test/gtest_help_test.py", line 154, in testPrintsHelpWithIncorrectFlagStyle 52: self.TestHelpFlag(incorrect_flag) 52: File "googletest/test/gtest_help_test.py", line 116, in TestHelpFlag 52: self.assert_(STREAM_RESULT_TO_FLAG not in output, output) 52: AssertionError: False is not true : Running main() from googletest/src/gtest_main.cc [...] *** Bug 248508 has been marked as a duplicate of this bug. *** Still valid on 1.11.0 ..and 1.12.1 ^Triage: Reset Assignee after ports 0e469738bec5 |
Created attachment 208173 [details] Poudriere testport log for devel/googletest devel/googletest fails to build with TEST=on. The test that fails is "34 - gtest_help_test". I have attached the poudriere testport log building on 11.3-RELEASE-p3 amd64 but not investigated further.