HAWQ-707. Remove gtest/gmock dependency from libyarn/libhdfs3
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/a5b68bab Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/a5b68bab Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/a5b68bab Branch: refs/heads/master Commit: a5b68bab318cbf6cdbebdf53af3aaf2fb4ba031b Parents: 22ac3d1 Author: xunzhang <[email protected]> Authored: Wed Apr 27 00:40:18 2016 +0800 Committer: Ruilong Huo <[email protected]> Committed: Mon May 9 18:05:37 2016 +0800 ---------------------------------------------------------------------- depends/googletest/.travis.yml | 46 - depends/googletest/CMakeLists.txt | 16 - depends/googletest/README.md | 141 - depends/googletest/googlemock/CHANGES | 126 - depends/googletest/googlemock/CMakeLists.txt | 202 - depends/googletest/googlemock/CONTRIBUTORS | 40 - depends/googletest/googlemock/LICENSE | 28 - depends/googletest/googlemock/Makefile.am | 224 - depends/googletest/googlemock/README.md | 333 - depends/googletest/googlemock/build-aux/.keep | 0 depends/googletest/googlemock/configure.ac | 146 - .../googletest/googlemock/docs/CheatSheet.md | 562 -- depends/googletest/googlemock/docs/CookBook.md | 3675 --------- depends/googletest/googlemock/docs/DesignDoc.md | 280 - depends/googletest/googlemock/docs/DevGuide.md | 132 - .../googletest/googlemock/docs/Documentation.md | 12 - .../googletest/googlemock/docs/ForDummies.md | 439 - .../googlemock/docs/FrequentlyAskedQuestions.md | 628 -- .../googletest/googlemock/docs/KnownIssues.md | 19 - .../googlemock/docs/v1_5/CheatSheet.md | 525 -- .../googletest/googlemock/docs/v1_5/CookBook.md | 3250 -------- .../googlemock/docs/v1_5/Documentation.md | 11 - .../googlemock/docs/v1_5/ForDummies.md | 439 - .../docs/v1_5/FrequentlyAskedQuestions.md | 624 -- .../googlemock/docs/v1_6/CheatSheet.md | 534 -- .../googletest/googlemock/docs/v1_6/CookBook.md | 3342 -------- .../googlemock/docs/v1_6/Documentation.md | 12 - .../googlemock/docs/v1_6/ForDummies.md | 439 - .../docs/v1_6/FrequentlyAskedQuestions.md | 628 -- .../googlemock/docs/v1_7/CheatSheet.md | 556 -- .../googletest/googlemock/docs/v1_7/CookBook.md | 3432 -------- .../googlemock/docs/v1_7/Documentation.md | 12 - .../googlemock/docs/v1_7/ForDummies.md | 439 - .../docs/v1_7/FrequentlyAskedQuestions.md | 628 -- .../googlemock/include/gmock/gmock-actions.h | 1205 --- .../include/gmock/gmock-cardinalities.h | 147 - .../include/gmock/gmock-generated-actions.h | 2377 ------ .../gmock/gmock-generated-actions.h.pump | 794 -- .../gmock/gmock-generated-function-mockers.h | 1095 --- .../gmock-generated-function-mockers.h.pump | 291 - .../include/gmock/gmock-generated-matchers.h | 2179 ----- .../gmock/gmock-generated-matchers.h.pump | 672 -- .../include/gmock/gmock-generated-nice-strict.h | 397 - .../gmock/gmock-generated-nice-strict.h.pump | 161 - .../googlemock/include/gmock/gmock-matchers.h | 4399 ---------- .../include/gmock/gmock-more-actions.h | 246 - .../include/gmock/gmock-more-matchers.h | 58 - .../include/gmock/gmock-spec-builders.h | 1847 ----- .../googletest/googlemock/include/gmock/gmock.h | 94 - .../internal/custom/gmock-generated-actions.h | 8 - .../custom/gmock-generated-actions.h.pump | 10 - .../gmock/internal/custom/gmock-matchers.h | 39 - .../include/gmock/internal/custom/gmock-port.h | 46 - .../internal/gmock-generated-internal-utils.h | 279 - .../gmock-generated-internal-utils.h.pump | 136 - .../gmock/internal/gmock-internal-utils.h | 511 -- .../include/gmock/internal/gmock-port.h | 91 - depends/googletest/googlemock/make/Makefile | 101 - .../googletest/googlemock/msvc/2005/gmock.sln | 32 - .../googlemock/msvc/2005/gmock.vcproj | 191 - .../googlemock/msvc/2005/gmock_config.vsprops | 15 - .../googlemock/msvc/2005/gmock_main.vcproj | 187 - .../googlemock/msvc/2005/gmock_test.vcproj | 201 - .../googletest/googlemock/msvc/2010/gmock.sln | 32 - .../googlemock/msvc/2010/gmock.vcxproj | 82 - .../googlemock/msvc/2010/gmock_config.props | 19 - .../googlemock/msvc/2010/gmock_main.vcxproj | 88 - .../googlemock/msvc/2010/gmock_test.vcxproj | 101 - .../googlemock/scripts/fuse_gmock_files.py | 240 - .../googlemock/scripts/generator/LICENSE | 203 - .../googlemock/scripts/generator/README | 35 - .../scripts/generator/README.cppclean | 115 - .../scripts/generator/cpp/__init__.py | 0 .../googlemock/scripts/generator/cpp/ast.py | 1733 ---- .../scripts/generator/cpp/gmock_class.py | 227 - .../scripts/generator/cpp/gmock_class_test.py | 448 - .../scripts/generator/cpp/keywords.py | 59 - .../scripts/generator/cpp/tokenize.py | 287 - .../googlemock/scripts/generator/cpp/utils.py | 41 - .../googlemock/scripts/generator/gmock_gen.py | 31 - .../googlemock/scripts/gmock-config.in | 303 - .../googlemock/scripts/gmock_doctor.py | 640 -- depends/googletest/googlemock/scripts/upload.py | 1387 ---- .../googlemock/scripts/upload_gmock.py | 78 - depends/googletest/googlemock/src/gmock-all.cc | 47 - .../googlemock/src/gmock-cardinalities.cc | 156 - .../googlemock/src/gmock-internal-utils.cc | 174 - .../googletest/googlemock/src/gmock-matchers.cc | 498 -- .../googlemock/src/gmock-spec-builders.cc | 823 -- depends/googletest/googlemock/src/gmock.cc | 183 - depends/googletest/googlemock/src/gmock_main.cc | 54 - .../googlemock/test/gmock-actions_test.cc | 1411 ---- .../googlemock/test/gmock-cardinalities_test.cc | 428 - .../test/gmock-generated-actions_test.cc | 1228 --- .../gmock-generated-function-mockers_test.cc | 622 -- .../test/gmock-generated-internal-utils_test.cc | 127 - .../test/gmock-generated-matchers_test.cc | 1286 --- .../test/gmock-internal-utils_test.cc | 699 -- .../googlemock/test/gmock-matchers_test.cc | 5648 ------------- .../googlemock/test/gmock-more-actions_test.cc | 708 -- .../googlemock/test/gmock-nice-strict_test.cc | 424 - .../googlemock/test/gmock-port_test.cc | 43 - .../googlemock/test/gmock-spec-builders_test.cc | 2644 ------ .../googlemock/test/gmock_all_test.cc | 51 - .../googletest/googlemock/test/gmock_ex_test.cc | 81 - .../googlemock/test/gmock_leak_test.py | 108 - .../googlemock/test/gmock_leak_test_.cc | 100 - .../googlemock/test/gmock_link2_test.cc | 40 - .../googlemock/test/gmock_link_test.cc | 40 - .../googlemock/test/gmock_link_test.h | 669 -- .../googlemock/test/gmock_output_test.py | 180 - .../googlemock/test/gmock_output_test_.cc | 291 - .../test/gmock_output_test_golden.txt | 310 - .../googlemock/test/gmock_stress_test.cc | 322 - .../googletest/googlemock/test/gmock_test.cc | 220 - .../googlemock/test/gmock_test_utils.py | 112 - depends/googletest/googletest/.gitignore | 2 - depends/googletest/googletest/CHANGES | 157 - depends/googletest/googletest/CMakeLists.txt | 286 - depends/googletest/googletest/CONTRIBUTORS | 37 - depends/googletest/googletest/LICENSE | 28 - depends/googletest/googletest/Makefile.am | 310 - depends/googletest/googletest/README.md | 280 - depends/googletest/googletest/build-aux/.keep | 0 .../googletest/cmake/internal_utils.cmake | 242 - .../googletest/googletest/codegear/gtest.cbproj | 138 - .../googletest/codegear/gtest.groupproj | 54 - .../googletest/googletest/codegear/gtest_all.cc | 38 - .../googletest/codegear/gtest_link.cc | 40 - .../googletest/codegear/gtest_main.cbproj | 82 - .../googletest/codegear/gtest_unittest.cbproj | 88 - depends/googletest/googletest/configure.ac | 68 - .../googletest/googletest/docs/AdvancedGuide.md | 2182 ----- depends/googletest/googletest/docs/DevGuide.md | 126 - .../googletest/googletest/docs/Documentation.md | 14 - depends/googletest/googletest/docs/FAQ.md | 1087 --- depends/googletest/googletest/docs/Primer.md | 502 -- .../googletest/googletest/docs/PumpManual.md | 177 - depends/googletest/googletest/docs/Samples.md | 14 - .../googletest/docs/V1_5_AdvancedGuide.md | 2096 ----- .../googletest/docs/V1_5_Documentation.md | 12 - depends/googletest/googletest/docs/V1_5_FAQ.md | 886 -- .../googletest/googletest/docs/V1_5_Primer.md | 497 -- .../googletest/docs/V1_5_PumpManual.md | 177 - .../googletest/docs/V1_5_XcodeGuide.md | 93 - .../googletest/docs/V1_6_AdvancedGuide.md | 2178 ----- .../googletest/docs/V1_6_Documentation.md | 14 - depends/googletest/googletest/docs/V1_6_FAQ.md | 1038 --- .../googletest/googletest/docs/V1_6_Primer.md | 501 -- .../googletest/docs/V1_6_PumpManual.md | 177 - .../googletest/googletest/docs/V1_6_Samples.md | 14 - .../googletest/docs/V1_6_XcodeGuide.md | 93 - .../googletest/docs/V1_7_AdvancedGuide.md | 2181 ----- .../googletest/docs/V1_7_Documentation.md | 14 - depends/googletest/googletest/docs/V1_7_FAQ.md | 1082 --- .../googletest/googletest/docs/V1_7_Primer.md | 501 -- .../googletest/docs/V1_7_PumpManual.md | 177 - .../googletest/googletest/docs/V1_7_Samples.md | 14 - .../googletest/docs/V1_7_XcodeGuide.md | 93 - .../googletest/googletest/docs/XcodeGuide.md | 93 - .../googletest/include/gtest/gtest-death-test.h | 294 - .../googletest/include/gtest/gtest-message.h | 250 - .../googletest/include/gtest/gtest-param-test.h | 1444 ---- .../include/gtest/gtest-param-test.h.pump | 510 -- .../googletest/include/gtest/gtest-printers.h | 993 --- .../googletest/include/gtest/gtest-spi.h | 232 - .../googletest/include/gtest/gtest-test-part.h | 179 - .../googletest/include/gtest/gtest-typed-test.h | 263 - .../googletest/googletest/include/gtest/gtest.h | 2236 ----- .../googletest/include/gtest/gtest_pred_impl.h | 358 - .../googletest/include/gtest/gtest_prod.h | 58 - .../include/gtest/internal/custom/gtest-port.h | 69 - .../gtest/internal/custom/gtest-printers.h | 42 - .../include/gtest/internal/custom/gtest.h | 41 - .../gtest/internal/gtest-death-test-internal.h | 319 - .../include/gtest/internal/gtest-filepath.h | 206 - .../include/gtest/internal/gtest-internal.h | 1238 --- .../include/gtest/internal/gtest-linked_ptr.h | 243 - .../gtest/internal/gtest-param-util-generated.h | 5146 ------------ .../internal/gtest-param-util-generated.h.pump | 286 - .../include/gtest/internal/gtest-param-util.h | 731 -- .../include/gtest/internal/gtest-port-arch.h | 93 - .../include/gtest/internal/gtest-port.h | 2554 ------ .../include/gtest/internal/gtest-string.h | 167 - .../include/gtest/internal/gtest-tuple.h | 1020 --- .../include/gtest/internal/gtest-tuple.h.pump | 347 - .../include/gtest/internal/gtest-type-util.h | 3331 -------- .../gtest/internal/gtest-type-util.h.pump | 297 - depends/googletest/googletest/m4/acx_pthread.m4 | 363 - depends/googletest/googletest/m4/gtest.m4 | 74 - depends/googletest/googletest/make/Makefile | 82 - depends/googletest/googletest/msvc/gtest-md.sln | 45 - .../googletest/googletest/msvc/gtest-md.vcproj | 126 - depends/googletest/googletest/msvc/gtest.sln | 45 - depends/googletest/googletest/msvc/gtest.vcproj | 126 - .../googletest/msvc/gtest_main-md.vcproj | 129 - .../googletest/msvc/gtest_main.vcproj | 129 - .../googletest/msvc/gtest_prod_test-md.vcproj | 164 - .../googletest/msvc/gtest_prod_test.vcproj | 164 - .../googletest/msvc/gtest_unittest-md.vcproj | 147 - .../googletest/msvc/gtest_unittest.vcproj | 147 - .../googletest/samples/prime_tables.h | 123 - .../googletest/googletest/samples/sample1.cc | 68 - depends/googletest/googletest/samples/sample1.h | 43 - .../googletest/samples/sample10_unittest.cc | 144 - .../googletest/samples/sample1_unittest.cc | 153 - .../googletest/googletest/samples/sample2.cc | 56 - depends/googletest/googletest/samples/sample2.h | 85 - .../googletest/samples/sample2_unittest.cc | 109 - .../googletest/googletest/samples/sample3-inl.h | 172 - .../googletest/samples/sample3_unittest.cc | 151 - .../googletest/googletest/samples/sample4.cc | 46 - depends/googletest/googletest/samples/sample4.h | 53 - .../googletest/samples/sample4_unittest.cc | 45 - .../googletest/samples/sample5_unittest.cc | 199 - .../googletest/samples/sample6_unittest.cc | 224 - .../googletest/samples/sample7_unittest.cc | 130 - .../googletest/samples/sample8_unittest.cc | 173 - .../googletest/samples/sample9_unittest.cc | 160 - depends/googletest/googletest/scripts/common.py | 83 - .../googletest/scripts/fuse_gtest_files.py | 253 - .../googletest/scripts/gen_gtest_pred_impl.py | 730 -- .../googletest/scripts/gtest-config.in | 274 - depends/googletest/googletest/scripts/pump.py | 855 -- .../googletest/scripts/release_docs.py | 158 - .../googletest/googletest/scripts/test/Makefile | 59 - depends/googletest/googletest/scripts/upload.py | 1387 ---- .../googletest/scripts/upload_gtest.py | 78 - depends/googletest/googletest/src/gtest-all.cc | 48 - .../googletest/src/gtest-death-test.cc | 1342 --- .../googletest/googletest/src/gtest-filepath.cc | 387 - .../googletest/src/gtest-internal-inl.h | 1183 --- depends/googletest/googletest/src/gtest-port.cc | 1259 --- .../googletest/googletest/src/gtest-printers.cc | 373 - .../googletest/src/gtest-test-part.cc | 110 - .../googletest/src/gtest-typed-test.cc | 118 - depends/googletest/googletest/src/gtest.cc | 5388 ------------ depends/googletest/googletest/src/gtest_main.cc | 38 - .../googletest/test/gtest-death-test_ex_test.cc | 93 - .../googletest/test/gtest-death-test_test.cc | 1427 ---- .../googletest/test/gtest-filepath_test.cc | 662 -- .../googletest/test/gtest-linked_ptr_test.cc | 154 - .../googletest/test/gtest-listener_test.cc | 311 - .../googletest/test/gtest-message_test.cc | 159 - .../googletest/test/gtest-options_test.cc | 215 - .../googletest/test/gtest-param-test2_test.cc | 65 - .../googletest/test/gtest-param-test_test.cc | 1055 --- .../googletest/test/gtest-param-test_test.h | 57 - .../googletest/test/gtest-port_test.cc | 1304 --- .../googletest/test/gtest-printers_test.cc | 1635 ---- .../googletest/test/gtest-test-part_test.cc | 208 - .../googletest/test/gtest-tuple_test.cc | 320 - .../googletest/test/gtest-typed-test2_test.cc | 45 - .../googletest/test/gtest-typed-test_test.cc | 380 - .../googletest/test/gtest-typed-test_test.h | 66 - .../googletest/test/gtest-unittest-api_test.cc | 341 - .../googletest/test/gtest_all_test.cc | 47 - .../test/gtest_break_on_failure_unittest.py | 212 - .../test/gtest_break_on_failure_unittest_.cc | 88 - .../test/gtest_catch_exceptions_test.py | 237 - .../test/gtest_catch_exceptions_test_.cc | 311 - .../googletest/test/gtest_color_test.py | 130 - .../googletest/test/gtest_color_test_.cc | 71 - .../googletest/test/gtest_env_var_test.py | 117 - .../googletest/test/gtest_env_var_test_.cc | 126 - .../googletest/test/gtest_environment_test.cc | 192 - .../googletest/test/gtest_filter_unittest.py | 636 -- .../googletest/test/gtest_filter_unittest_.cc | 140 - .../googletest/test/gtest_help_test.py | 172 - .../googletest/test/gtest_help_test_.cc | 46 - .../test/gtest_list_tests_unittest.py | 207 - .../test/gtest_list_tests_unittest_.cc | 157 - .../googletest/test/gtest_main_unittest.cc | 45 - .../googletest/test/gtest_no_test_unittest.cc | 56 - .../googletest/test/gtest_output_test.py | 340 - .../googletest/test/gtest_output_test_.cc | 1062 --- .../test/gtest_output_test_golden_lin.txt | 743 -- .../googletest/test/gtest_pred_impl_unittest.cc | 2427 ------ .../test/gtest_premature_exit_test.cc | 127 - .../googletest/test/gtest_prod_test.cc | 57 - .../googletest/test/gtest_repeat_test.cc | 253 - .../googletest/test/gtest_shuffle_test.py | 325 - .../googletest/test/gtest_shuffle_test_.cc | 103 - .../googletest/test/gtest_sole_header_test.cc | 57 - .../googletest/test/gtest_stress_test.cc | 256 - .../googletest/test/gtest_test_utils.py | 320 - .../test/gtest_throw_on_failure_ex_test.cc | 92 - .../test/gtest_throw_on_failure_test.py | 171 - .../test/gtest_throw_on_failure_test_.cc | 72 - .../googletest/test/gtest_uninitialized_test.py | 70 - .../test/gtest_uninitialized_test_.cc | 43 - .../googletest/test/gtest_unittest.cc | 7706 ------------------ .../googletest/test/gtest_xml_outfile1_test_.cc | 49 - .../googletest/test/gtest_xml_outfile2_test_.cc | 49 - .../googletest/test/gtest_xml_outfiles_test.py | 132 - .../test/gtest_xml_output_unittest.py | 308 - .../test/gtest_xml_output_unittest_.cc | 181 - .../googletest/test/gtest_xml_test_utils.py | 194 - .../googletest/googletest/test/production.cc | 36 - depends/googletest/googletest/test/production.h | 55 - .../xcode/Config/DebugProject.xcconfig | 30 - .../xcode/Config/FrameworkTarget.xcconfig | 17 - .../googletest/xcode/Config/General.xcconfig | 41 - .../xcode/Config/ReleaseProject.xcconfig | 32 - .../xcode/Config/StaticLibraryTarget.xcconfig | 18 - .../googletest/xcode/Config/TestTarget.xcconfig | 8 - .../googletest/xcode/Resources/Info.plist | 30 - .../xcode/Samples/FrameworkSample/Info.plist | 28 - .../WidgetFramework.xcodeproj/project.pbxproj | 457 -- .../xcode/Samples/FrameworkSample/runtests.sh | 62 - .../xcode/Samples/FrameworkSample/widget.cc | 63 - .../xcode/Samples/FrameworkSample/widget.h | 59 - .../Samples/FrameworkSample/widget_test.cc | 68 - .../googletest/xcode/Scripts/runtests.sh | 65 - .../googletest/xcode/Scripts/versiongenerate.py | 100 - .../xcode/gtest.xcodeproj/project.pbxproj | 1135 --- depends/googletest/travis.sh | 15 - depends/libhdfs3/CMake/FindGoogleTest.cmake | 52 + depends/libhdfs3/CMakeLists.txt | 6 +- depends/libhdfs3/gmock/CMakeLists.txt | 31 - depends/libhdfs3/gmock/COPYING | 28 - .../gmock/include/gmock/gmock-actions.h | 1078 --- .../gmock/include/gmock/gmock-cardinalities.h | 147 - .../include/gmock/gmock-generated-actions.h | 2415 ------ .../gmock/gmock-generated-function-mockers.h | 991 --- .../include/gmock/gmock-generated-matchers.h | 2190 ----- .../include/gmock/gmock-generated-nice-strict.h | 397 - .../gmock/include/gmock/gmock-matchers.h | 3986 --------- .../gmock/include/gmock/gmock-more-actions.h | 233 - .../gmock/include/gmock/gmock-more-matchers.h | 58 - .../gmock/include/gmock/gmock-spec-builders.h | 1791 ---- depends/libhdfs3/gmock/include/gmock/gmock.h | 94 - .../internal/gmock-generated-internal-utils.h | 279 - .../gmock/internal/gmock-internal-utils.h | 498 -- .../gmock/include/gmock/internal/gmock-port.h | 78 - .../libhdfs3/gmock/src/gmock-cardinalities.cc | 156 - .../libhdfs3/gmock/src/gmock-internal-utils.cc | 174 - depends/libhdfs3/gmock/src/gmock-matchers.cc | 498 -- .../libhdfs3/gmock/src/gmock-spec-builders.cc | 813 -- depends/libhdfs3/gmock/src/gmock.cc | 182 - depends/libhdfs3/gtest/CMakeLists.txt | 28 - .../gtest/include/gtest/gtest-death-test.h | 294 - .../gtest/include/gtest/gtest-message.h | 250 - .../gtest/include/gtest/gtest-param-test.h | 1421 ---- .../gtest/include/gtest/gtest-printers.h | 855 -- .../libhdfs3/gtest/include/gtest/gtest-spi.h | 232 - .../gtest/include/gtest/gtest-test-part.h | 179 - .../gtest/include/gtest/gtest-typed-test.h | 259 - depends/libhdfs3/gtest/include/gtest/gtest.h | 2291 ------ .../gtest/include/gtest/gtest_pred_impl.h | 358 - .../libhdfs3/gtest/include/gtest/gtest_prod.h | 58 - .../gtest/internal/gtest-death-test-internal.h | 319 - .../include/gtest/internal/gtest-filepath.h | 206 - .../include/gtest/internal/gtest-internal.h | 1158 --- .../include/gtest/internal/gtest-linked_ptr.h | 233 - .../gtest/internal/gtest-param-util-generated.h | 5143 ------------ .../include/gtest/internal/gtest-param-util.h | 619 -- .../gtest/include/gtest/internal/gtest-port.h | 1947 ----- .../gtest/include/gtest/internal/gtest-string.h | 167 - .../gtest/include/gtest/internal/gtest-tuple.h | 1012 --- .../include/gtest/internal/gtest-type-util.h | 3331 -------- depends/libhdfs3/gtest/src/gtest-death-test.cc | 1344 --- depends/libhdfs3/gtest/src/gtest-filepath.cc | 382 - depends/libhdfs3/gtest/src/gtest-internal-inl.h | 1218 --- depends/libhdfs3/gtest/src/gtest-port.cc | 805 -- depends/libhdfs3/gtest/src/gtest-printers.cc | 363 - depends/libhdfs3/gtest/src/gtest-test-part.cc | 110 - depends/libhdfs3/gtest/src/gtest-typed-test.cc | 110 - depends/libhdfs3/gtest/src/gtest.cc | 5015 ------------ depends/libhdfs3/test/function/CMakeLists.txt | 1 + depends/libhdfs3/test/secure/CMakeLists.txt | 1 + depends/libhdfs3/test/unit/CMakeLists.txt | 2 + depends/libyarn/CMake/FindGoogleTest.cmake | 52 + depends/libyarn/CMakeLists.txt | 4 +- depends/libyarn/gmock/CMakeLists.txt | 31 - depends/libyarn/gmock/COPYING | 28 - .../libyarn/gmock/include/gmock/gmock-actions.h | 1078 --- .../gmock/include/gmock/gmock-cardinalities.h | 147 - .../include/gmock/gmock-generated-actions.h | 2415 ------ .../gmock/gmock-generated-function-mockers.h | 991 --- .../include/gmock/gmock-generated-matchers.h | 2190 ----- .../include/gmock/gmock-generated-nice-strict.h | 397 - .../gmock/include/gmock/gmock-matchers.h | 3986 --------- .../gmock/include/gmock/gmock-more-actions.h | 233 - .../gmock/include/gmock/gmock-more-matchers.h | 58 - .../gmock/include/gmock/gmock-spec-builders.h | 1791 ---- depends/libyarn/gmock/include/gmock/gmock.h | 94 - .../internal/gmock-generated-internal-utils.h | 279 - .../gmock/internal/gmock-internal-utils.h | 498 -- .../gmock/include/gmock/internal/gmock-port.h | 78 - .../libyarn/gmock/src/gmock-cardinalities.cc | 156 - .../libyarn/gmock/src/gmock-internal-utils.cc | 174 - depends/libyarn/gmock/src/gmock-matchers.cc | 498 -- .../libyarn/gmock/src/gmock-spec-builders.cc | 813 -- depends/libyarn/gmock/src/gmock.cc | 182 - depends/libyarn/gtest/CMakeLists.txt | 28 - .../gtest/include/gtest/gtest-death-test.h | 294 - .../libyarn/gtest/include/gtest/gtest-message.h | 250 - .../gtest/include/gtest/gtest-param-test.h | 1421 ---- .../gtest/include/gtest/gtest-printers.h | 855 -- depends/libyarn/gtest/include/gtest/gtest-spi.h | 232 - .../gtest/include/gtest/gtest-test-part.h | 179 - .../gtest/include/gtest/gtest-typed-test.h | 259 - depends/libyarn/gtest/include/gtest/gtest.h | 2291 ------ .../gtest/include/gtest/gtest_pred_impl.h | 358 - .../libyarn/gtest/include/gtest/gtest_prod.h | 58 - .../gtest/internal/gtest-death-test-internal.h | 319 - .../include/gtest/internal/gtest-filepath.h | 206 - .../include/gtest/internal/gtest-internal.h | 1158 --- .../include/gtest/internal/gtest-linked_ptr.h | 233 - .../gtest/internal/gtest-param-util-generated.h | 5143 ------------ .../include/gtest/internal/gtest-param-util.h | 619 -- .../gtest/include/gtest/internal/gtest-port.h | 1947 ----- .../gtest/include/gtest/internal/gtest-string.h | 167 - .../gtest/include/gtest/internal/gtest-tuple.h | 1012 --- .../include/gtest/internal/gtest-type-util.h | 3331 -------- depends/libyarn/gtest/src/gtest-death-test.cc | 1344 --- depends/libyarn/gtest/src/gtest-filepath.cc | 382 - depends/libyarn/gtest/src/gtest-internal-inl.h | 1218 --- depends/libyarn/gtest/src/gtest-port.cc | 805 -- depends/libyarn/gtest/src/gtest-printers.cc | 363 - depends/libyarn/gtest/src/gtest-test-part.cc | 110 - depends/libyarn/gtest/src/gtest-typed-test.cc | 110 - depends/libyarn/gtest/src/gtest.cc | 5015 ------------ depends/libyarn/test/function/CMakeLists.txt | 1 + depends/libyarn/test/secure/CMakeLists.txt | 1 + depends/libyarn/test/unit/CMakeLists.txt | 1 + depends/thirdparty/googletest/.travis.yml | 46 + depends/thirdparty/googletest/CMakeLists.txt | 16 + depends/thirdparty/googletest/README.md | 141 + .../thirdparty/googletest/googlemock/CHANGES | 126 + .../googletest/googlemock/CMakeLists.txt | 202 + .../googletest/googlemock/CONTRIBUTORS | 40 + .../thirdparty/googletest/googlemock/LICENSE | 28 + .../googletest/googlemock/Makefile.am | 224 + .../thirdparty/googletest/googlemock/README.md | 333 + .../googletest/googlemock/build-aux/.keep | 0 .../googletest/googlemock/configure.ac | 146 + .../googletest/googlemock/docs/CheatSheet.md | 562 ++ .../googletest/googlemock/docs/CookBook.md | 3675 +++++++++ .../googletest/googlemock/docs/DesignDoc.md | 280 + .../googletest/googlemock/docs/DevGuide.md | 132 + .../googletest/googlemock/docs/Documentation.md | 12 + .../googletest/googlemock/docs/ForDummies.md | 439 + .../googlemock/docs/FrequentlyAskedQuestions.md | 628 ++ .../googletest/googlemock/docs/KnownIssues.md | 19 + .../googlemock/docs/v1_5/CheatSheet.md | 525 ++ .../googletest/googlemock/docs/v1_5/CookBook.md | 3250 ++++++++ .../googlemock/docs/v1_5/Documentation.md | 11 + .../googlemock/docs/v1_5/ForDummies.md | 439 + .../docs/v1_5/FrequentlyAskedQuestions.md | 624 ++ .../googlemock/docs/v1_6/CheatSheet.md | 534 ++ .../googletest/googlemock/docs/v1_6/CookBook.md | 3342 ++++++++ .../googlemock/docs/v1_6/Documentation.md | 12 + .../googlemock/docs/v1_6/ForDummies.md | 439 + .../docs/v1_6/FrequentlyAskedQuestions.md | 628 ++ .../googlemock/docs/v1_7/CheatSheet.md | 556 ++ .../googletest/googlemock/docs/v1_7/CookBook.md | 3432 ++++++++ .../googlemock/docs/v1_7/Documentation.md | 12 + .../googlemock/docs/v1_7/ForDummies.md | 439 + .../docs/v1_7/FrequentlyAskedQuestions.md | 628 ++ .../googlemock/include/gmock/gmock-actions.h | 1205 +++ .../include/gmock/gmock-cardinalities.h | 147 + .../include/gmock/gmock-generated-actions.h | 2377 ++++++ .../gmock/gmock-generated-actions.h.pump | 794 ++ .../gmock/gmock-generated-function-mockers.h | 1095 +++ .../gmock-generated-function-mockers.h.pump | 291 + .../include/gmock/gmock-generated-matchers.h | 2179 +++++ .../gmock/gmock-generated-matchers.h.pump | 672 ++ .../include/gmock/gmock-generated-nice-strict.h | 397 + .../gmock/gmock-generated-nice-strict.h.pump | 161 + .../googlemock/include/gmock/gmock-matchers.h | 4399 ++++++++++ .../include/gmock/gmock-more-actions.h | 246 + .../include/gmock/gmock-more-matchers.h | 58 + .../include/gmock/gmock-spec-builders.h | 1847 +++++ .../googletest/googlemock/include/gmock/gmock.h | 94 + .../internal/custom/gmock-generated-actions.h | 8 + .../custom/gmock-generated-actions.h.pump | 10 + .../gmock/internal/custom/gmock-matchers.h | 39 + .../include/gmock/internal/custom/gmock-port.h | 46 + .../internal/gmock-generated-internal-utils.h | 279 + .../gmock-generated-internal-utils.h.pump | 136 + .../gmock/internal/gmock-internal-utils.h | 511 ++ .../include/gmock/internal/gmock-port.h | 91 + .../googletest/googlemock/make/Makefile | 101 + .../googletest/googlemock/msvc/2005/gmock.sln | 32 + .../googlemock/msvc/2005/gmock.vcproj | 191 + .../googlemock/msvc/2005/gmock_config.vsprops | 15 + .../googlemock/msvc/2005/gmock_main.vcproj | 187 + .../googlemock/msvc/2005/gmock_test.vcproj | 201 + .../googletest/googlemock/msvc/2010/gmock.sln | 32 + .../googlemock/msvc/2010/gmock.vcxproj | 82 + .../googlemock/msvc/2010/gmock_config.props | 19 + .../googlemock/msvc/2010/gmock_main.vcxproj | 88 + .../googlemock/msvc/2010/gmock_test.vcxproj | 101 + .../googlemock/scripts/fuse_gmock_files.py | 240 + .../googlemock/scripts/generator/LICENSE | 203 + .../googlemock/scripts/generator/README | 35 + .../scripts/generator/README.cppclean | 115 + .../scripts/generator/cpp/__init__.py | 0 .../googlemock/scripts/generator/cpp/ast.py | 1733 ++++ .../scripts/generator/cpp/gmock_class.py | 227 + .../scripts/generator/cpp/gmock_class_test.py | 448 + .../scripts/generator/cpp/keywords.py | 59 + .../scripts/generator/cpp/tokenize.py | 287 + .../googlemock/scripts/generator/cpp/utils.py | 41 + .../googlemock/scripts/generator/gmock_gen.py | 31 + .../googlemock/scripts/gmock-config.in | 303 + .../googlemock/scripts/gmock_doctor.py | 640 ++ .../googletest/googlemock/scripts/upload.py | 1387 ++++ .../googlemock/scripts/upload_gmock.py | 78 + .../googletest/googlemock/src/gmock-all.cc | 47 + .../googlemock/src/gmock-cardinalities.cc | 156 + .../googlemock/src/gmock-internal-utils.cc | 174 + .../googletest/googlemock/src/gmock-matchers.cc | 498 ++ .../googlemock/src/gmock-spec-builders.cc | 823 ++ .../googletest/googlemock/src/gmock.cc | 183 + .../googletest/googlemock/src/gmock_main.cc | 54 + .../googlemock/test/gmock-actions_test.cc | 1411 ++++ .../googlemock/test/gmock-cardinalities_test.cc | 428 + .../test/gmock-generated-actions_test.cc | 1228 +++ .../gmock-generated-function-mockers_test.cc | 622 ++ .../test/gmock-generated-internal-utils_test.cc | 127 + .../test/gmock-generated-matchers_test.cc | 1286 +++ .../test/gmock-internal-utils_test.cc | 699 ++ .../googlemock/test/gmock-matchers_test.cc | 5648 +++++++++++++ .../googlemock/test/gmock-more-actions_test.cc | 708 ++ .../googlemock/test/gmock-nice-strict_test.cc | 424 + .../googlemock/test/gmock-port_test.cc | 43 + .../googlemock/test/gmock-spec-builders_test.cc | 2644 ++++++ .../googlemock/test/gmock_all_test.cc | 51 + .../googletest/googlemock/test/gmock_ex_test.cc | 81 + .../googlemock/test/gmock_leak_test.py | 108 + .../googlemock/test/gmock_leak_test_.cc | 100 + .../googlemock/test/gmock_link2_test.cc | 40 + .../googlemock/test/gmock_link_test.cc | 40 + .../googlemock/test/gmock_link_test.h | 669 ++ .../googlemock/test/gmock_output_test.py | 180 + .../googlemock/test/gmock_output_test_.cc | 291 + .../test/gmock_output_test_golden.txt | 310 + .../googlemock/test/gmock_stress_test.cc | 322 + .../googletest/googlemock/test/gmock_test.cc | 220 + .../googlemock/test/gmock_test_utils.py | 112 + .../thirdparty/googletest/googletest/.gitignore | 2 + .../thirdparty/googletest/googletest/CHANGES | 157 + .../googletest/googletest/CMakeLists.txt | 286 + .../googletest/googletest/CONTRIBUTORS | 37 + .../thirdparty/googletest/googletest/LICENSE | 28 + .../googletest/googletest/Makefile.am | 310 + .../thirdparty/googletest/googletest/README.md | 280 + .../googletest/googletest/build-aux/.keep | 0 .../googletest/cmake/internal_utils.cmake | 242 + .../googletest/googletest/codegear/gtest.cbproj | 138 + .../googletest/codegear/gtest.groupproj | 54 + .../googletest/googletest/codegear/gtest_all.cc | 38 + .../googletest/codegear/gtest_link.cc | 40 + .../googletest/codegear/gtest_main.cbproj | 82 + .../googletest/codegear/gtest_unittest.cbproj | 88 + .../googletest/googletest/configure.ac | 68 + .../googletest/googletest/docs/AdvancedGuide.md | 2182 +++++ .../googletest/googletest/docs/DevGuide.md | 126 + .../googletest/googletest/docs/Documentation.md | 14 + .../googletest/googletest/docs/FAQ.md | 1087 +++ .../googletest/googletest/docs/Primer.md | 502 ++ .../googletest/googletest/docs/PumpManual.md | 177 + .../googletest/googletest/docs/Samples.md | 14 + .../googletest/docs/V1_5_AdvancedGuide.md | 2096 +++++ .../googletest/docs/V1_5_Documentation.md | 12 + .../googletest/googletest/docs/V1_5_FAQ.md | 886 ++ .../googletest/googletest/docs/V1_5_Primer.md | 497 ++ .../googletest/docs/V1_5_PumpManual.md | 177 + .../googletest/docs/V1_5_XcodeGuide.md | 93 + .../googletest/docs/V1_6_AdvancedGuide.md | 2178 +++++ .../googletest/docs/V1_6_Documentation.md | 14 + .../googletest/googletest/docs/V1_6_FAQ.md | 1038 +++ .../googletest/googletest/docs/V1_6_Primer.md | 501 ++ .../googletest/docs/V1_6_PumpManual.md | 177 + .../googletest/googletest/docs/V1_6_Samples.md | 14 + .../googletest/docs/V1_6_XcodeGuide.md | 93 + .../googletest/docs/V1_7_AdvancedGuide.md | 2181 +++++ .../googletest/docs/V1_7_Documentation.md | 14 + .../googletest/googletest/docs/V1_7_FAQ.md | 1082 +++ .../googletest/googletest/docs/V1_7_Primer.md | 501 ++ .../googletest/docs/V1_7_PumpManual.md | 177 + .../googletest/googletest/docs/V1_7_Samples.md | 14 + .../googletest/docs/V1_7_XcodeGuide.md | 93 + .../googletest/googletest/docs/XcodeGuide.md | 93 + .../googletest/include/gtest/gtest-death-test.h | 294 + .../googletest/include/gtest/gtest-message.h | 250 + .../googletest/include/gtest/gtest-param-test.h | 1444 ++++ .../include/gtest/gtest-param-test.h.pump | 510 ++ .../googletest/include/gtest/gtest-printers.h | 993 +++ .../googletest/include/gtest/gtest-spi.h | 232 + .../googletest/include/gtest/gtest-test-part.h | 179 + .../googletest/include/gtest/gtest-typed-test.h | 263 + .../googletest/googletest/include/gtest/gtest.h | 2236 +++++ .../googletest/include/gtest/gtest_pred_impl.h | 358 + .../googletest/include/gtest/gtest_prod.h | 58 + .../include/gtest/internal/custom/gtest-port.h | 69 + .../gtest/internal/custom/gtest-printers.h | 42 + .../include/gtest/internal/custom/gtest.h | 41 + .../gtest/internal/gtest-death-test-internal.h | 319 + .../include/gtest/internal/gtest-filepath.h | 206 + .../include/gtest/internal/gtest-internal.h | 1238 +++ .../include/gtest/internal/gtest-linked_ptr.h | 243 + .../gtest/internal/gtest-param-util-generated.h | 5146 ++++++++++++ .../internal/gtest-param-util-generated.h.pump | 286 + .../include/gtest/internal/gtest-param-util.h | 731 ++ .../include/gtest/internal/gtest-port-arch.h | 93 + .../include/gtest/internal/gtest-port.h | 2554 ++++++ .../include/gtest/internal/gtest-string.h | 167 + .../include/gtest/internal/gtest-tuple.h | 1020 +++ .../include/gtest/internal/gtest-tuple.h.pump | 347 + .../include/gtest/internal/gtest-type-util.h | 3331 ++++++++ .../gtest/internal/gtest-type-util.h.pump | 297 + .../googletest/googletest/m4/acx_pthread.m4 | 363 + .../googletest/googletest/m4/gtest.m4 | 74 + .../googletest/googletest/make/Makefile | 82 + .../googletest/googletest/msvc/gtest-md.sln | 45 + .../googletest/googletest/msvc/gtest-md.vcproj | 126 + .../googletest/googletest/msvc/gtest.sln | 45 + .../googletest/googletest/msvc/gtest.vcproj | 126 + .../googletest/msvc/gtest_main-md.vcproj | 129 + .../googletest/msvc/gtest_main.vcproj | 129 + .../googletest/msvc/gtest_prod_test-md.vcproj | 164 + .../googletest/msvc/gtest_prod_test.vcproj | 164 + .../googletest/msvc/gtest_unittest-md.vcproj | 147 + .../googletest/msvc/gtest_unittest.vcproj | 147 + .../googletest/samples/prime_tables.h | 123 + .../googletest/googletest/samples/sample1.cc | 68 + .../googletest/googletest/samples/sample1.h | 43 + .../googletest/samples/sample10_unittest.cc | 144 + .../googletest/samples/sample1_unittest.cc | 153 + .../googletest/googletest/samples/sample2.cc | 56 + .../googletest/googletest/samples/sample2.h | 85 + .../googletest/samples/sample2_unittest.cc | 109 + .../googletest/googletest/samples/sample3-inl.h | 172 + .../googletest/samples/sample3_unittest.cc | 151 + .../googletest/googletest/samples/sample4.cc | 46 + .../googletest/googletest/samples/sample4.h | 53 + .../googletest/samples/sample4_unittest.cc | 45 + .../googletest/samples/sample5_unittest.cc | 199 + .../googletest/samples/sample6_unittest.cc | 224 + .../googletest/samples/sample7_unittest.cc | 130 + .../googletest/samples/sample8_unittest.cc | 173 + .../googletest/samples/sample9_unittest.cc | 160 + .../googletest/googletest/scripts/common.py | 83 + .../googletest/scripts/fuse_gtest_files.py | 253 + .../googletest/scripts/gen_gtest_pred_impl.py | 730 ++ .../googletest/scripts/gtest-config.in | 274 + .../googletest/googletest/scripts/pump.py | 855 ++ .../googletest/scripts/release_docs.py | 158 + .../googletest/googletest/scripts/test/Makefile | 59 + .../googletest/googletest/scripts/upload.py | 1387 ++++ .../googletest/scripts/upload_gtest.py | 78 + .../googletest/googletest/src/gtest-all.cc | 48 + .../googletest/src/gtest-death-test.cc | 1342 +++ .../googletest/googletest/src/gtest-filepath.cc | 387 + .../googletest/src/gtest-internal-inl.h | 1183 +++ .../googletest/googletest/src/gtest-port.cc | 1259 +++ .../googletest/googletest/src/gtest-printers.cc | 373 + .../googletest/src/gtest-test-part.cc | 110 + .../googletest/src/gtest-typed-test.cc | 118 + .../googletest/googletest/src/gtest.cc | 5388 ++++++++++++ .../googletest/googletest/src/gtest_main.cc | 38 + .../googletest/test/gtest-death-test_ex_test.cc | 93 + .../googletest/test/gtest-death-test_test.cc | 1427 ++++ .../googletest/test/gtest-filepath_test.cc | 662 ++ .../googletest/test/gtest-linked_ptr_test.cc | 154 + .../googletest/test/gtest-listener_test.cc | 311 + .../googletest/test/gtest-message_test.cc | 159 + .../googletest/test/gtest-options_test.cc | 215 + .../googletest/test/gtest-param-test2_test.cc | 65 + .../googletest/test/gtest-param-test_test.cc | 1055 +++ .../googletest/test/gtest-param-test_test.h | 57 + .../googletest/test/gtest-port_test.cc | 1304 +++ .../googletest/test/gtest-printers_test.cc | 1635 ++++ .../googletest/test/gtest-test-part_test.cc | 208 + .../googletest/test/gtest-tuple_test.cc | 320 + .../googletest/test/gtest-typed-test2_test.cc | 45 + .../googletest/test/gtest-typed-test_test.cc | 380 + .../googletest/test/gtest-typed-test_test.h | 66 + .../googletest/test/gtest-unittest-api_test.cc | 341 + .../googletest/test/gtest_all_test.cc | 47 + .../test/gtest_break_on_failure_unittest.py | 212 + .../test/gtest_break_on_failure_unittest_.cc | 88 + .../test/gtest_catch_exceptions_test.py | 237 + .../test/gtest_catch_exceptions_test_.cc | 311 + .../googletest/test/gtest_color_test.py | 130 + .../googletest/test/gtest_color_test_.cc | 71 + .../googletest/test/gtest_env_var_test.py | 117 + .../googletest/test/gtest_env_var_test_.cc | 126 + .../googletest/test/gtest_environment_test.cc | 192 + .../googletest/test/gtest_filter_unittest.py | 636 ++ .../googletest/test/gtest_filter_unittest_.cc | 140 + .../googletest/test/gtest_help_test.py | 172 + .../googletest/test/gtest_help_test_.cc | 46 + .../test/gtest_list_tests_unittest.py | 207 + .../test/gtest_list_tests_unittest_.cc | 157 + .../googletest/test/gtest_main_unittest.cc | 45 + .../googletest/test/gtest_no_test_unittest.cc | 56 + .../googletest/test/gtest_output_test.py | 340 + .../googletest/test/gtest_output_test_.cc | 1062 +++ .../test/gtest_output_test_golden_lin.txt | 743 ++ .../googletest/test/gtest_pred_impl_unittest.cc | 2427 ++++++ .../test/gtest_premature_exit_test.cc | 127 + .../googletest/test/gtest_prod_test.cc | 57 + .../googletest/test/gtest_repeat_test.cc | 253 + .../googletest/test/gtest_shuffle_test.py | 325 + .../googletest/test/gtest_shuffle_test_.cc | 103 + .../googletest/test/gtest_sole_header_test.cc | 57 + .../googletest/test/gtest_stress_test.cc | 256 + .../googletest/test/gtest_test_utils.py | 320 + .../test/gtest_throw_on_failure_ex_test.cc | 92 + .../test/gtest_throw_on_failure_test.py | 171 + .../test/gtest_throw_on_failure_test_.cc | 72 + .../googletest/test/gtest_uninitialized_test.py | 70 + .../test/gtest_uninitialized_test_.cc | 43 + .../googletest/test/gtest_unittest.cc | 7706 ++++++++++++++++++ .../googletest/test/gtest_xml_outfile1_test_.cc | 49 + .../googletest/test/gtest_xml_outfile2_test_.cc | 49 + .../googletest/test/gtest_xml_outfiles_test.py | 132 + .../test/gtest_xml_output_unittest.py | 308 + .../test/gtest_xml_output_unittest_.cc | 181 + .../googletest/test/gtest_xml_test_utils.py | 194 + .../googletest/googletest/test/production.cc | 36 + .../googletest/googletest/test/production.h | 55 + .../xcode/Config/DebugProject.xcconfig | 30 + .../xcode/Config/FrameworkTarget.xcconfig | 17 + .../googletest/xcode/Config/General.xcconfig | 41 + .../xcode/Config/ReleaseProject.xcconfig | 32 + .../xcode/Config/StaticLibraryTarget.xcconfig | 18 + .../googletest/xcode/Config/TestTarget.xcconfig | 8 + .../googletest/xcode/Resources/Info.plist | 30 + .../xcode/Samples/FrameworkSample/Info.plist | 28 + .../WidgetFramework.xcodeproj/project.pbxproj | 457 ++ .../xcode/Samples/FrameworkSample/runtests.sh | 62 + .../xcode/Samples/FrameworkSample/widget.cc | 63 + .../xcode/Samples/FrameworkSample/widget.h | 59 + .../Samples/FrameworkSample/widget_test.cc | 68 + .../googletest/xcode/Scripts/runtests.sh | 65 + .../googletest/xcode/Scripts/versiongenerate.py | 100 + .../xcode/gtest.xcodeproj/project.pbxproj | 1135 +++ depends/thirdparty/googletest/travis.sh | 15 + 744 files changed, 153492 insertions(+), 245029 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a5b68bab/depends/googletest/.travis.yml ---------------------------------------------------------------------- diff --git a/depends/googletest/.travis.yml b/depends/googletest/.travis.yml deleted file mode 100644 index 3204dfa..0000000 --- a/depends/googletest/.travis.yml +++ /dev/null @@ -1,46 +0,0 @@ -# Build matrix / environment variable are explained on: -# http://about.travis-ci.org/docs/user/build-configuration/ -# This file can be validated on: -# http://lint.travis-ci.org/ - -install: -# /usr/bin/gcc is 4.6 always, but gcc-X.Y is available. -- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi -# /usr/bin/clang is 3.4, lets override with modern one. -- if [ "$CXX" = "clang++" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi -- echo ${PATH} -- echo ${CXX} -- ${CXX} --version -- ${CXX} -v -addons: - apt: - # List of whitelisted in travis packages for ubuntu-precise can be found here: - # https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise - # List of whitelisted in travis apt-sources: - # https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.7 - packages: - - gcc-4.9 - - g++-4.9 - - clang-3.7 - - valgrind -os: - - linux - - osx -language: cpp -compiler: - - gcc - - clang -script: ./travis.sh -env: - matrix: - - GTEST_TARGET=googletest SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=debug VERBOSE_MAKE=true VERBOSE - - GTEST_TARGET=googlemock SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=debug VERBOSE_MAKE=true VERBOSE - - GTEST_TARGET=googlemock SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=debug CXX_FLAGS=-std=c++11 VERBOSE_MAKE=true VERBOSE -# - GTEST_TARGET=googletest SHARED_LIB=ON STATIC_LIB=ON CMAKE_PKG=ON BUILD_TYPE=release VERBOSE_MAKE=false -# - GTEST_TARGET=googlemock SHARED_LIB=ON STATIC_LIB=ON CMAKE_PKG=ON BUILD_TYPE=release VERBOSE_MAKE=false -notifications: - email: false -sudo: false http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a5b68bab/depends/googletest/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/depends/googletest/CMakeLists.txt b/depends/googletest/CMakeLists.txt deleted file mode 100644 index 8d2b552..0000000 --- a/depends/googletest/CMakeLists.txt +++ /dev/null @@ -1,16 +0,0 @@ -cmake_minimum_required(VERSION 2.6.2) - -project( googletest-distribution ) - -enable_testing() - -option(BUILD_GTEST "Builds the googletest subproject" OFF) - -#Note that googlemock target already builds googletest -option(BUILD_GMOCK "Builds the googlemock subproject" ON) - -if(BUILD_GMOCK) - add_subdirectory( googlemock ) -elseif(BUILD_GTEST) - add_subdirectory( googletest ) -endif() http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a5b68bab/depends/googletest/README.md ---------------------------------------------------------------------- diff --git a/depends/googletest/README.md b/depends/googletest/README.md deleted file mode 100644 index f4b8965..0000000 --- a/depends/googletest/README.md +++ /dev/null @@ -1,141 +0,0 @@ - -# Google Test # - -[](https://travis-ci.org/google/googletest) - -Welcome to **Google Test**, Google's C++ test framework! - -This repository is a merger of the formerly separate GoogleTest and -GoogleMock projects. These were so closely related that it makes sense to -maintain and release them together. - -Please see the project page above for more information as well as the -mailing list for questions, discussions, and development. There is -also an IRC channel on OFTC (irc.oftc.net) #gtest available. Please -join us! - -Getting started information for **Google Test** is available in the -[Google Test Primer](googletest/docs/Primer.md) documentation. - -**Google Mock** is an extension to Google Test for writing and using C++ mock -classes. See the separate [Google Mock documentation](googlemock/README.md). - -More detailed documentation for googletest (including build instructions) are -in its interior [googletest/README.md](googletest/README.md) file. - -## Features ## - - * An [XUnit](https://en.wikipedia.org/wiki/XUnit) test framework. - * Test discovery. - * A rich set of assertions. - * User-defined assertions. - * Death tests. - * Fatal and non-fatal failures. - * Value-parameterized tests. - * Type-parameterized tests. - * Various options for running the tests. - * XML test report generation. - -## Platforms ## - -Google test has been used on a variety of platforms: - - * Linux - * Mac OS X - * Windows - * Cygwin - * MinGW - * Windows Mobile - * Symbian - -## Who Is Using Google Test? ## - -In addition to many internal projects at Google, Google Test is also used by -the following notable projects: - - * The [Chromium projects](http://www.chromium.org/) (behind the Chrome - browser and Chrome OS). - * The [LLVM](http://llvm.org/) compiler. - * [Protocol Buffers](https://github.com/google/protobuf), Google's data - interchange format. - * The [OpenCV](http://opencv.org/) computer vision library. - -## Related Open Source Projects ## - -[Google Test UI](https://github.com/ospector/gtest-gbar) is test runner that runs -your test binary, allows you to track its progress via a progress bar, and -displays a list of test failures. Clicking on one shows failure text. Google -Test UI is written in C#. - -[GTest TAP Listener](https://github.com/kinow/gtest-tap-listener) is an event -listener for Google Test that implements the -[TAP protocol](https://en.wikipedia.org/wiki/Test_Anything_Protocol) for test -result output. If your test runner understands TAP, you may find it useful. - -## Requirements ## - -Google Test is designed to have fairly minimal requirements to build -and use with your projects, but there are some. Currently, we support -Linux, Windows, Mac OS X, and Cygwin. We will also make our best -effort to support other platforms (e.g. Solaris, AIX, and z/OS). -However, since core members of the Google Test project have no access -to these platforms, Google Test may have outstanding issues there. If -you notice any problems on your platform, please notify -<[email protected]>. Patches for fixing them are -even more welcome! - -### Linux Requirements ### - -These are the base requirements to build and use Google Test from a source -package (as described below): - - * GNU-compatible Make or gmake - * POSIX-standard shell - * POSIX(-2) Regular Expressions (regex.h) - * A C++98-standard-compliant compiler - -### Windows Requirements ### - - * Microsoft Visual C++ v7.1 or newer - -### Cygwin Requirements ### - - * Cygwin v1.5.25-14 or newer - -### Mac OS X Requirements ### - - * Mac OS X v10.4 Tiger or newer - * Xcode Developer Tools - -### Requirements for Contributors ### - -We welcome patches. If you plan to contribute a patch, you need to -build Google Test and its own tests from a git checkout (described -below), which has further requirements: - - * [Python](https://www.python.org/) v2.3 or newer (for running some of - the tests and re-generating certain source files from templates) - * [CMake](https://cmake.org/) v2.6.4 or newer - -## Regenerating Source Files ## - -Some of Google Test's source files are generated from templates (not -in the C++ sense) using a script. -For example, the -file include/gtest/internal/gtest-type-util.h.pump is used to generate -gtest-type-util.h in the same directory. - -You don't need to worry about regenerating the source files -unless you need to modify them. You would then modify the -corresponding `.pump` files and run the '[pump.py](googletest/scripts/pump.py)' -generator script. See the [Pump Manual](googletest/docs/PumpManual.md). - -### Contributing Code ### - -We welcome patches. Please read the -[Developer's Guide](googletest/docs/DevGuide.md) -for how you can contribute. In particular, make sure you have signed -the Contributor License Agreement, or we won't be able to accept the -patch. - -Happy testing! http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a5b68bab/depends/googletest/googlemock/CHANGES ---------------------------------------------------------------------- diff --git a/depends/googletest/googlemock/CHANGES b/depends/googletest/googlemock/CHANGES deleted file mode 100644 index d6f2f76..0000000 --- a/depends/googletest/googlemock/CHANGES +++ /dev/null @@ -1,126 +0,0 @@ -Changes for 1.7.0: - -* All new improvements in Google Test 1.7.0. -* New feature: matchers DoubleNear(), FloatNear(), - NanSensitiveDoubleNear(), NanSensitiveFloatNear(), - UnorderedElementsAre(), UnorderedElementsAreArray(), WhenSorted(), - WhenSortedBy(), IsEmpty(), and SizeIs(). -* Improvement: Google Mock can now be built as a DLL. -* Improvement: when compiled by a C++11 compiler, matchers AllOf() - and AnyOf() can accept an arbitrary number of matchers. -* Improvement: when compiled by a C++11 compiler, matchers - ElementsAreArray() can accept an initializer list. -* Improvement: when exceptions are enabled, a mock method with no - default action now throws instead crashing the test. -* Improvement: added class testing::StringMatchResultListener to aid - definition of composite matchers. -* Improvement: function return types used in MOCK_METHOD*() macros can - now contain unprotected commas. -* Improvement (potentially breaking): EXPECT_THAT() and ASSERT_THAT() - are now more strict in ensuring that the value type and the matcher - type are compatible, catching potential bugs in tests. -* Improvement: Pointee() now works on an optional<T>. -* Improvement: the ElementsAreArray() matcher can now take a vector or - iterator range as input, and makes a copy of its input elements - before the conversion to a Matcher. -* Improvement: the Google Mock Generator can now generate mocks for - some class templates. -* Bug fix: mock object destruction triggerred by another mock object's - destruction no longer hangs. -* Improvement: Google Mock Doctor works better with newer Clang and - GCC now. -* Compatibility fixes. -* Bug/warning fixes. - -Changes for 1.6.0: - -* Compilation is much faster and uses much less memory, especially - when the constructor and destructor of a mock class are moved out of - the class body. -* New matchers: Pointwise(), Each(). -* New actions: ReturnPointee() and ReturnRefOfCopy(). -* CMake support. -* Project files for Visual Studio 2010. -* AllOf() and AnyOf() can handle up-to 10 arguments now. -* Google Mock doctor understands Clang error messages now. -* SetArgPointee<> now accepts string literals. -* gmock_gen.py handles storage specifier macros and template return - types now. -* Compatibility fixes. -* Bug fixes and implementation clean-ups. -* Potentially incompatible changes: disables the harmful 'make install' - command in autotools. - -Potentially breaking changes: - -* The description string for MATCHER*() changes from Python-style - interpolation to an ordinary C++ string expression. -* SetArgumentPointee is deprecated in favor of SetArgPointee. -* Some non-essential project files for Visual Studio 2005 are removed. - -Changes for 1.5.0: - - * New feature: Google Mock can be safely used in multi-threaded tests - on platforms having pthreads. - * New feature: function for printing a value of arbitrary type. - * New feature: function ExplainMatchResult() for easy definition of - composite matchers. - * The new matcher API lets user-defined matchers generate custom - explanations more directly and efficiently. - * Better failure messages all around. - * NotNull() and IsNull() now work with smart pointers. - * Field() and Property() now work when the matcher argument is a pointer - passed by reference. - * Regular expression matchers on all platforms. - * Added GCC 4.0 support for Google Mock Doctor. - * Added gmock_all_test.cc for compiling most Google Mock tests - in a single file. - * Significantly cleaned up compiler warnings. - * Bug fixes, better test coverage, and implementation clean-ups. - - Potentially breaking changes: - - * Custom matchers defined using MatcherInterface or MakePolymorphicMatcher() - need to be updated after upgrading to Google Mock 1.5.0; matchers defined - using MATCHER or MATCHER_P* aren't affected. - * Dropped support for 'make install'. - -Changes for 1.4.0 (we skipped 1.2.* and 1.3.* to match the version of -Google Test): - - * Works in more environments: Symbian and minGW, Visual C++ 7.1. - * Lighter weight: comes with our own implementation of TR1 tuple (no - more dependency on Boost!). - * New feature: --gmock_catch_leaked_mocks for detecting leaked mocks. - * New feature: ACTION_TEMPLATE for defining templatized actions. - * New feature: the .After() clause for specifying expectation order. - * New feature: the .With() clause for for specifying inter-argument - constraints. - * New feature: actions ReturnArg<k>(), ReturnNew<T>(...), and - DeleteArg<k>(). - * New feature: matchers Key(), Pair(), Args<...>(), AllArgs(), IsNull(), - and Contains(). - * New feature: utility class MockFunction<F>, useful for checkpoints, etc. - * New feature: functions Value(x, m) and SafeMatcherCast<T>(m). - * New feature: copying a mock object is rejected at compile time. - * New feature: a script for fusing all Google Mock and Google Test - source files for easy deployment. - * Improved the Google Mock doctor to diagnose more diseases. - * Improved the Google Mock generator script. - * Compatibility fixes for Mac OS X and gcc. - * Bug fixes and implementation clean-ups. - -Changes for 1.1.0: - - * New feature: ability to use Google Mock with any testing framework. - * New feature: macros for easily defining new matchers - * New feature: macros for easily defining new actions. - * New feature: more container matchers. - * New feature: actions for accessing function arguments and throwing - exceptions. - * Improved the Google Mock doctor script for diagnosing compiler errors. - * Bug fixes and implementation clean-ups. - -Changes for 1.0.0: - - * Initial Open Source release of Google Mock http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a5b68bab/depends/googletest/googlemock/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/depends/googletest/googlemock/CMakeLists.txt b/depends/googletest/googlemock/CMakeLists.txt deleted file mode 100644 index beb259a..0000000 --- a/depends/googletest/googlemock/CMakeLists.txt +++ /dev/null @@ -1,202 +0,0 @@ -######################################################################## -# CMake build script for Google Mock. -# -# To run the tests for Google Mock itself on Linux, use 'make test' or -# ctest. You can select which tests to run using 'ctest -R regex'. -# For more options, run 'ctest --help'. - -# BUILD_SHARED_LIBS is a standard CMake variable, but we declare it here to -# make it prominent in the GUI. -option(BUILD_SHARED_LIBS "Build shared libraries (DLLs)." OFF) - -option(gmock_build_tests "Build all of Google Mock's own tests." OFF) - -# A directory to find Google Test sources. -if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt") - set(gtest_dir gtest) -else() - set(gtest_dir ../googletest) -endif() - -# Defines pre_project_set_up_hermetic_build() and set_up_hermetic_build(). -include("${gtest_dir}/cmake/hermetic_build.cmake" OPTIONAL) - -if (COMMAND pre_project_set_up_hermetic_build) - # Google Test also calls hermetic setup functions from add_subdirectory, - # although its changes will not affect things at the current scope. - pre_project_set_up_hermetic_build() -endif() - -######################################################################## -# -# Project-wide settings - -# Name of the project. -# -# CMake files in this project can refer to the root source directory -# as ${gmock_SOURCE_DIR} and to the root binary directory as -# ${gmock_BINARY_DIR}. -# Language "C" is required for find_package(Threads). -project(gmock CXX C) -cmake_minimum_required(VERSION 2.6.2) - -if (COMMAND set_up_hermetic_build) - set_up_hermetic_build() -endif() - -# Instructs CMake to process Google Test's CMakeLists.txt and add its -# targets to the current scope. We are placing Google Test's binary -# directory in a subdirectory of our own as VC compilation may break -# if they are the same (the default). -add_subdirectory("${gtest_dir}" "${gmock_BINARY_DIR}/gtest") - -# Although Google Test's CMakeLists.txt calls this function, the -# changes there don't affect the current scope. Therefore we have to -# call it again here. -config_compiler_and_linker() # from ${gtest_dir}/cmake/internal_utils.cmake - -# Adds Google Mock's and Google Test's header directories to the search path. -include_directories("${gmock_SOURCE_DIR}/include" - "${gmock_SOURCE_DIR}" - "${gtest_SOURCE_DIR}/include" - # This directory is needed to build directly from Google - # Test sources. - "${gtest_SOURCE_DIR}") - -# Summary of tuple support for Microsoft Visual Studio: -# Compiler version(MS) version(cmake) Support -# ---------- ----------- -------------- ----------------------------- -# <= VS 2010 <= 10 <= 1600 Use Google Tests's own tuple. -# VS 2012 11 1700 std::tr1::tuple + _VARIADIC_MAX=10 -# VS 2013 12 1800 std::tr1::tuple -if (MSVC AND MSVC_VERSION EQUAL 1700) - add_definitions(/D _VARIADIC_MAX=10) -endif() - -######################################################################## -# -# Defines the gmock & gmock_main libraries. User tests should link -# with one of them. - -# Google Mock libraries. We build them using more strict warnings than what -# are used for other targets, to ensure that Google Mock can be compiled by -# a user aggressive about warnings. -cxx_library(gmock - "${cxx_strict}" - "${gtest_dir}/src/gtest-all.cc" - src/gmock-all.cc) - -cxx_library(gmock_main - "${cxx_strict}" - "${gtest_dir}/src/gtest-all.cc" - src/gmock-all.cc - src/gmock_main.cc) - -# If the CMake version supports it, attach header directory information -# to the targets for when we are part of a parent build (ie being pulled -# in via add_subdirectory() rather than being a standalone build). -if (DEFINED CMAKE_VERSION AND NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.11") - target_include_directories(gmock INTERFACE "${gmock_SOURCE_DIR}/include") - target_include_directories(gmock_main INTERFACE "${gmock_SOURCE_DIR}/include") -endif() - -######################################################################## -# -# Install rules -install(TARGETS gmock gmock_main - DESTINATION lib) -install(DIRECTORY ${gmock_SOURCE_DIR}/include/gmock - DESTINATION include) - -######################################################################## -# -# Google Mock's own tests. -# -# You can skip this section if you aren't interested in testing -# Google Mock itself. -# -# The tests are not built by default. To build them, set the -# gmock_build_tests option to ON. You can do it by running ccmake -# or specifying the -Dgmock_build_tests=ON flag when running cmake. - -if (gmock_build_tests) - # This must be set in the root directory for the tests to be run by - # 'make test' or ctest. - enable_testing() - - ############################################################ - # C++ tests built with standard compiler flags. - - cxx_test(gmock-actions_test gmock_main) - cxx_test(gmock-cardinalities_test gmock_main) - cxx_test(gmock_ex_test gmock_main) - cxx_test(gmock-generated-actions_test gmock_main) - cxx_test(gmock-generated-function-mockers_test gmock_main) - cxx_test(gmock-generated-internal-utils_test gmock_main) - cxx_test(gmock-generated-matchers_test gmock_main) - cxx_test(gmock-internal-utils_test gmock_main) - cxx_test(gmock-matchers_test gmock_main) - cxx_test(gmock-more-actions_test gmock_main) - cxx_test(gmock-nice-strict_test gmock_main) - cxx_test(gmock-port_test gmock_main) - cxx_test(gmock-spec-builders_test gmock_main) - cxx_test(gmock_link_test gmock_main test/gmock_link2_test.cc) - cxx_test(gmock_test gmock_main) - - if (CMAKE_USE_PTHREADS_INIT) - cxx_test(gmock_stress_test gmock) - endif() - - # gmock_all_test is commented to save time building and running tests. - # Uncomment if necessary. - # cxx_test(gmock_all_test gmock_main) - - ############################################################ - # C++ tests built with non-standard compiler flags. - - cxx_library(gmock_main_no_exception "${cxx_no_exception}" - "${gtest_dir}/src/gtest-all.cc" src/gmock-all.cc src/gmock_main.cc) - - cxx_library(gmock_main_no_rtti "${cxx_no_rtti}" - "${gtest_dir}/src/gtest-all.cc" src/gmock-all.cc src/gmock_main.cc) - - if (NOT MSVC OR MSVC_VERSION LESS 1600) # 1600 is Visual Studio 2010. - # Visual Studio 2010, 2012, and 2013 define symbols in std::tr1 that - # conflict with our own definitions. Therefore using our own tuple does not - # work on those compilers. - cxx_library(gmock_main_use_own_tuple "${cxx_use_own_tuple}" - "${gtest_dir}/src/gtest-all.cc" src/gmock-all.cc src/gmock_main.cc) - - cxx_test_with_flags(gmock_use_own_tuple_test "${cxx_use_own_tuple}" - gmock_main_use_own_tuple test/gmock-spec-builders_test.cc) - endif() - - cxx_test_with_flags(gmock-more-actions_no_exception_test "${cxx_no_exception}" - gmock_main_no_exception test/gmock-more-actions_test.cc) - - cxx_test_with_flags(gmock_no_rtti_test "${cxx_no_rtti}" - gmock_main_no_rtti test/gmock-spec-builders_test.cc) - - cxx_shared_library(shared_gmock_main "${cxx_default}" - "${gtest_dir}/src/gtest-all.cc" src/gmock-all.cc src/gmock_main.cc) - - # Tests that a binary can be built with Google Mock as a shared library. On - # some system configurations, it may not possible to run the binary without - # knowing more details about the system configurations. We do not try to run - # this binary. To get a more robust shared library coverage, configure with - # -DBUILD_SHARED_LIBS=ON. - cxx_executable_with_flags(shared_gmock_test_ "${cxx_default}" - shared_gmock_main test/gmock-spec-builders_test.cc) - set_target_properties(shared_gmock_test_ - PROPERTIES - COMPILE_DEFINITIONS "GTEST_LINKED_AS_SHARED_LIBRARY=1") - - ############################################################ - # Python tests. - - cxx_executable(gmock_leak_test_ test gmock_main) - py_test(gmock_leak_test) - - cxx_executable(gmock_output_test_ test gmock) - py_test(gmock_output_test) -endif() http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a5b68bab/depends/googletest/googlemock/CONTRIBUTORS ---------------------------------------------------------------------- diff --git a/depends/googletest/googlemock/CONTRIBUTORS b/depends/googletest/googlemock/CONTRIBUTORS deleted file mode 100644 index 6e9ae36..0000000 --- a/depends/googletest/googlemock/CONTRIBUTORS +++ /dev/null @@ -1,40 +0,0 @@ -# This file contains a list of people who've made non-trivial -# contribution to the Google C++ Mocking Framework project. People -# who commit code to the project are encouraged to add their names -# here. Please keep the list sorted by first names. - -Benoit Sigoure <[email protected]> -Bogdan Piloca <[email protected]> -Chandler Carruth <[email protected]> -Dave MacLachlan <[email protected]> -David Anderson <[email protected]> -Dean Sturtevant -Gene Volovich <[email protected]> -Hal Burch <[email protected]> -Jeffrey Yasskin <[email protected]> -Jim Keller <[email protected]> -Joe Walnes <[email protected]> -Jon Wray <[email protected]> -Keir Mierle <[email protected]> -Keith Ray <[email protected]> -Kostya Serebryany <[email protected]> -Lev Makhlis -Manuel Klimek <[email protected]> -Mario Tanev <[email protected]> -Mark Paskin -Markus Heule <[email protected]> -Matthew Simmons <[email protected]> -Mike Bland <[email protected]> -Neal Norwitz <[email protected]> -Nermin Ozkiranartli <[email protected]> -Owen Carlsen <[email protected]> -Paneendra Ba <[email protected]> -Paul Menage <[email protected]> -Piotr Kaminski <[email protected]> -Russ Rufer <[email protected]> -Sverre Sundsdal <[email protected]> -Takeshi Yoshino <[email protected]> -Vadim Berman <[email protected]> -Vlad Losev <[email protected]> -Wolfgang Klier <[email protected]> -Zhanyong Wan <[email protected]> http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a5b68bab/depends/googletest/googlemock/LICENSE ---------------------------------------------------------------------- diff --git a/depends/googletest/googlemock/LICENSE b/depends/googletest/googlemock/LICENSE deleted file mode 100644 index 1941a11..0000000 --- a/depends/googletest/googlemock/LICENSE +++ /dev/null @@ -1,28 +0,0 @@ -Copyright 2008, Google Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a5b68bab/depends/googletest/googlemock/Makefile.am ---------------------------------------------------------------------- diff --git a/depends/googletest/googlemock/Makefile.am b/depends/googletest/googlemock/Makefile.am deleted file mode 100644 index 9adbc51..0000000 --- a/depends/googletest/googlemock/Makefile.am +++ /dev/null @@ -1,224 +0,0 @@ -# Automake file - -# Nonstandard package files for distribution. -EXTRA_DIST = LICENSE - -# We may need to build our internally packaged gtest. If so, it will be -# included in the 'subdirs' variable. -SUBDIRS = $(subdirs) - -# This is generated by the configure script, so clean it for distribution. -DISTCLEANFILES = scripts/gmock-config - -# We define the global AM_CPPFLAGS as everything we compile includes from these -# directories. -AM_CPPFLAGS = $(GTEST_CPPFLAGS) -I$(srcdir)/include - -# Modifies compiler and linker flags for pthreads compatibility. -if HAVE_PTHREADS - AM_CXXFLAGS = @PTHREAD_CFLAGS@ -DGTEST_HAS_PTHREAD=1 - AM_LIBS = @PTHREAD_LIBS@ -endif - -# Build rules for libraries. -lib_LTLIBRARIES = lib/libgmock.la lib/libgmock_main.la - -lib_libgmock_la_SOURCES = src/gmock-all.cc - -pkginclude_HEADERS = \ - include/gmock/gmock-actions.h \ - include/gmock/gmock-cardinalities.h \ - include/gmock/gmock-generated-actions.h \ - include/gmock/gmock-generated-function-mockers.h \ - include/gmock/gmock-generated-matchers.h \ - include/gmock/gmock-generated-nice-strict.h \ - include/gmock/gmock-matchers.h \ - include/gmock/gmock-more-actions.h \ - include/gmock/gmock-more-matchers.h \ - include/gmock/gmock-spec-builders.h \ - include/gmock/gmock.h - -pkginclude_internaldir = $(pkgincludedir)/internal -pkginclude_internal_HEADERS = \ - include/gmock/internal/gmock-generated-internal-utils.h \ - include/gmock/internal/gmock-internal-utils.h \ - include/gmock/internal/gmock-port.h \ - include/gmock/internal/custom/gmock-generated-actions.h \ - include/gmock/internal/custom/gmock-matchers.h \ - include/gmock/internal/custom/gmock-port.h - -lib_libgmock_main_la_SOURCES = src/gmock_main.cc -lib_libgmock_main_la_LIBADD = lib/libgmock.la - -# Build rules for tests. Automake's naming for some of these variables isn't -# terribly obvious, so this is a brief reference: -# -# TESTS -- Programs run automatically by "make check" -# check_PROGRAMS -- Programs built by "make check" but not necessarily run - -TESTS= -check_PROGRAMS= -AM_LDFLAGS = $(GTEST_LDFLAGS) - -# This exercises all major components of Google Mock. It also -# verifies that libgmock works. -TESTS += test/gmock-spec-builders_test -check_PROGRAMS += test/gmock-spec-builders_test -test_gmock_spec_builders_test_SOURCES = test/gmock-spec-builders_test.cc -test_gmock_spec_builders_test_LDADD = $(GTEST_LIBS) lib/libgmock.la - -# This tests using Google Mock in multiple translation units. It also -# verifies that libgmock_main and libgmock work. -TESTS += test/gmock_link_test -check_PROGRAMS += test/gmock_link_test -test_gmock_link_test_SOURCES = \ - test/gmock_link2_test.cc \ - test/gmock_link_test.cc \ - test/gmock_link_test.h -test_gmock_link_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la lib/libgmock.la - -if HAVE_PYTHON - # Tests that fused gmock files compile and work. - TESTS += test/gmock_fused_test - check_PROGRAMS += test/gmock_fused_test - test_gmock_fused_test_SOURCES = \ - fused-src/gmock-gtest-all.cc \ - fused-src/gmock/gmock.h \ - fused-src/gmock_main.cc \ - fused-src/gtest/gtest.h \ - test/gmock_test.cc - test_gmock_fused_test_CPPFLAGS = -I"$(srcdir)/fused-src" -endif - -# Google Mock source files that we don't compile directly. -GMOCK_SOURCE_INGLUDES = \ - src/gmock-cardinalities.cc \ - src/gmock-internal-utils.cc \ - src/gmock-matchers.cc \ - src/gmock-spec-builders.cc \ - src/gmock.cc - -EXTRA_DIST += $(GMOCK_SOURCE_INGLUDES) - -# C++ tests that we don't compile using autotools. -EXTRA_DIST += \ - test/gmock-actions_test.cc \ - test/gmock_all_test.cc \ - test/gmock-cardinalities_test.cc \ - test/gmock_ex_test.cc \ - test/gmock-generated-actions_test.cc \ - test/gmock-generated-function-mockers_test.cc \ - test/gmock-generated-internal-utils_test.cc \ - test/gmock-generated-matchers_test.cc \ - test/gmock-internal-utils_test.cc \ - test/gmock-matchers_test.cc \ - test/gmock-more-actions_test.cc \ - test/gmock-nice-strict_test.cc \ - test/gmock-port_test.cc \ - test/gmock_stress_test.cc - -# Python tests, which we don't run using autotools. -EXTRA_DIST += \ - test/gmock_leak_test.py \ - test/gmock_leak_test_.cc \ - test/gmock_output_test.py \ - test/gmock_output_test_.cc \ - test/gmock_output_test_golden.txt \ - test/gmock_test_utils.py - -# Nonstandard package files for distribution. -EXTRA_DIST += \ - CHANGES \ - CONTRIBUTORS \ - make/Makefile - -# Pump scripts for generating Google Mock headers. -# TODO([email protected]): automate the generation of *.h from *.h.pump. -EXTRA_DIST += \ - include/gmock/gmock-generated-actions.h.pump \ - include/gmock/gmock-generated-function-mockers.h.pump \ - include/gmock/gmock-generated-matchers.h.pump \ - include/gmock/gmock-generated-nice-strict.h.pump \ - include/gmock/internal/gmock-generated-internal-utils.h.pump \ - include/gmock/internal/custom/gmock-generated-actions.h.pump - -# Script for fusing Google Mock and Google Test source files. -EXTRA_DIST += scripts/fuse_gmock_files.py - -# The Google Mock Generator tool from the cppclean project. -EXTRA_DIST += \ - scripts/generator/LICENSE \ - scripts/generator/README \ - scripts/generator/README.cppclean \ - scripts/generator/cpp/__init__.py \ - scripts/generator/cpp/ast.py \ - scripts/generator/cpp/gmock_class.py \ - scripts/generator/cpp/keywords.py \ - scripts/generator/cpp/tokenize.py \ - scripts/generator/cpp/utils.py \ - scripts/generator/gmock_gen.py - -# Script for diagnosing compiler errors in programs that use Google -# Mock. -EXTRA_DIST += scripts/gmock_doctor.py - -# CMake scripts. -EXTRA_DIST += \ - CMakeLists.txt - -# Microsoft Visual Studio 2005 projects. -EXTRA_DIST += \ - msvc/2005/gmock.sln \ - msvc/2005/gmock.vcproj \ - msvc/2005/gmock_config.vsprops \ - msvc/2005/gmock_main.vcproj \ - msvc/2005/gmock_test.vcproj - -# Microsoft Visual Studio 2010 projects. -EXTRA_DIST += \ - msvc/2010/gmock.sln \ - msvc/2010/gmock.vcxproj \ - msvc/2010/gmock_config.props \ - msvc/2010/gmock_main.vcxproj \ - msvc/2010/gmock_test.vcxproj - -if HAVE_PYTHON -# gmock_test.cc does not really depend on files generated by the -# fused-gmock-internal rule. However, gmock_test.o does, and it is -# important to include test/gmock_test.cc as part of this rule in order to -# prevent compiling gmock_test.o until all dependent files have been -# generated. -$(test_gmock_fused_test_SOURCES): fused-gmock-internal - -# TODO([email protected]): Find a way to add Google Tests's sources here. -fused-gmock-internal: $(pkginclude_HEADERS) $(pkginclude_internal_HEADERS) \ - $(lib_libgmock_la_SOURCES) $(GMOCK_SOURCE_INGLUDES) \ - $(lib_libgmock_main_la_SOURCES) \ - scripts/fuse_gmock_files.py - mkdir -p "$(srcdir)/fused-src" - chmod -R u+w "$(srcdir)/fused-src" - rm -f "$(srcdir)/fused-src/gtest/gtest.h" - rm -f "$(srcdir)/fused-src/gmock/gmock.h" - rm -f "$(srcdir)/fused-src/gmock-gtest-all.cc" - "$(srcdir)/scripts/fuse_gmock_files.py" "$(srcdir)/fused-src" - cp -f "$(srcdir)/src/gmock_main.cc" "$(srcdir)/fused-src" - -maintainer-clean-local: - rm -rf "$(srcdir)/fused-src" -endif - -# Death tests may produce core dumps in the build directory. In case -# this happens, clean them to keep distcleancheck happy. -CLEANFILES = core - -# Disables 'make install' as installing a compiled version of Google -# Mock can lead to undefined behavior due to violation of the -# One-Definition Rule. - -install-exec-local: - echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Mock into your build system." - false - -install-data-local: - echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Mock into your build system." - false
