aboutsummaryrefslogtreecommitdiff
path: root/tests.sh
Commit message (Collapse)AuthorAgeFilesLines
* fix java build by changing mvn to onlineYilun Chong2018-09-231-1/+1
|
* Fix go tests.Feng Xiao2018-08-231-1/+1
|
* Replace repo links.Feng Xiao2018-08-221-2/+2
|
* Fix failing tests.Feng Xiao2018-08-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Fix C++ tests. * Add missing files to Makefile.am and fix distcheck in tests.sh * Remove BUILT_SOURCES from conformance/Makefile.am. * Add some missing override keyword. * Add a type cast to int64 because our StrCat() in stubs can't handle size_t. 2. Fix Java tests. * Add missing test dependency on guava in pom.xml. * Include newly referenced test data in test resources. * Manually fix map_lite_test.proto which is overwritten because it's mapped from map_test.proto in google3. * Add back "optimize_for = LITE_RUNTIME" which is still needed to keep the opensource test passing as it's still running lite tests. * Add a type cast in newBuilder() because without it the code doesn't compile with openjdk javac 1.8 (the compiler can't figure if it's the right type due to complex generic typing). 3. Fix Python tests. * Remove/replace references to <hash_map>. * Suppress more warnings in setup.py. * Replace incorrect header inclusion for google/protobuf/proto_api.h. * Add strings::EndsWith to google/protobuf/stubs/strutil.h because it's referenced in the updated python C extension code. * Replace proto2 with google::protobuf. The proto2 name is leaked to opensource because we removed the subsitition rule for proto2 namespace but only fixed C++ source code and forgot to update python C extension code.
* Cleanup kokoro scripts.Feng Xiao2018-08-091-3/+3
| | | | | | | | | Changes: 1. Remove stuff no longer needed. Lots of the heavy lifting were there because we were running our own jenkins cluster and had to manage all the test logs ourselves. Now they are useless. 2. Change "-j2" to "-j4" to speed up the test a little bit. Kokoro machines have 4 logic CPUs according to their spec.
* Add conformance test for php c back (#4966)Paul Yang2018-07-261-7/+10
| | | | | | | | | | | | * Add conformance test for php c back php c extension has different result for conformance test for different php version and architecture. Try to add conformance back for php 7.1 c extension first. * Disable conformance test for c extension on 32-bit architecture 32-bit and 64-bit have different failing tests * Fix typo
* Add cpp tests under release docker image.Feng Xiao2018-07-151-97/+6
| | | | | | 1. Added C++ tests under the release docker image. 2. Fixed a compile issue with the docker image. 3. Cleaned up tests.sh and removed traivis stuff.
* Add continuous test for ruby 2.3, 2.4 and 2.5 (#4829)Paul Yang2018-07-021-0/+15
| | | | | | | | | | | | * Add continuous test for ruby 2.3, 2.4 and 2.5 * Change ruby 2.5 to 2.5.0 * No need to provide argument to rb_funcall when argc is 0 * Fix tests for ruby 2.5 * Use rescue instead of assert_raise to accept subclass of error
* PHP namespaces for nested messages and enums (#4536)Brent Shaffer2018-05-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * uses namespaces for nested messages and enums * fixes namespaces for PHP dist * fixes namespace for Descriptors, adds Cardinality and Kind * fixes nested namespaces for reserved words and adds tests * adds tests and generator fix for php class prefixes * fixes escaping of protobuf packages, enum comments, misc others * nice refactor of generated code * adds class files for backwards compatibility * simplifies code with templates * adds compatibility files to makefile * cleanup of generator and fixes nested namespace bug * regenerates proto types * remove internal BC classes * adds deprecated warning, adds methods back * simplifies if statement * fixes dist files * addresses review comments * adds back TYPE_URL_PREFIX constant * adds @deprecated to old nested class files * skips tests which require a separate process when protobuf.so is enabled * Adds tests for legacy nested classes that do not require separate processes to test * uses legacy names for GPBUtil message check * adds block for IDE @deprecated message * Namespace for nested message/enum in c extension * Remove unused code
* use brew install instead of easy_install in OSX (#4537)Jie Luo2018-05-091-1/+2
| | | use brew instead of easy_install in OSX (easy_install keep failing for a month)
* Include googletest as a submodule (#3993)Carlos O'Ryan2018-03-261-0/+5
| | | Add googletest as a submodule in third_party/googletest.
* Cat the test-suite.log on errors for presubitsJisi Liu2018-03-191-1/+1
|
* Merge pull request #4291 from google/3.5.xJisi Liu2018-02-261-8/+8
|\ | | | | Merge 3.5.x to master
| * Fix more memory leak for php c extension (#4211)Paul Yang2018-01-251-8/+8
| | | | | | | | | | | | * Fix more memory leak for php c extension * Fix memory leak for php5.5
| * Fix php well known type conformance tests (#3828) (#3840)Paul Yang2017-11-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix php well known type conformance tests * Properly generate code for test.proto * Provide GPBMetadata files in c extensions for generated files to import. * Remove unnecessary test * Clean up code * Add declaration for initOnce. * Refactoring
* | add cppYilun Chong2017-12-141-3/+0
| |
* | Fix bugsYilun Chong2017-12-131-1/+4
| |
* | Add caliper supported to java benchmarkYilun Chong2017-12-121-4/+1
| |
* | Fix bugs to pass testsYilun Chong2017-12-041-1/+1
| |
* | Run C# codegen when testing itJon Skeet2017-11-121-3/+5
| | | | | | | | | | This will cause failures if shared protos change in an incompatible way.
* | Fix php well known type conformance tests (#3828)Paul Yang2017-11-031-1/+2
|/ | | | | | | | | | | | | | | | * Fix php well known type conformance tests * Properly generate code for test.proto * Provide GPBMetadata files in c extensions for generated files to import. * Remove unnecessary test * Clean up code * Add declaration for initOnce. * Refactoring
* Merge remote-tracking branch 'origin/3.4.x' into masterJisi Liu2017-10-111-11/+16
|\
| * Exclude valid constant name from reserved name.Bo Yang2017-09-121-13/+15
| |
| * Add prefix to php reserved keywords.Bo Yang2017-09-081-9/+13
| |
| * Add mising cmake files in distJisi Liu2017-08-241-1/+0
| |
| * Make distcheck aware of test proto files.Jisi Liu2017-08-231-1/+1
| |
* | Add well known types to php runtime. (#3697)Paul Yang2017-10-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add well known types to php runtime. * Fix php7.0 tests * No longer generate empty.proto in test as it has been included in runtime. * Fix zts build * Clean code * Rename g_p_b_empty to empty. * Don't generate code for empty.proto in compatibility test * Fix 32-bit * Fix mac build * Fix Makefile.am to add new files
* | Fix go example test.Feng Xiao2017-09-131-1/+1
| | | | | | | | It needs "-I" flag to find imported file google/protobuf/timestamp.proto
* | Drop python2.6Jie Luo2017-08-221-4/+3
| | | | | | | | | | | | | | Jenkins complains for python 2.6 DEPRECATION: Python 2.6 is no longer supported by the Python core team ERROR: InvocationError: '/tmp/protobuf/protobuf/python/.tox/py26-cpp/bin/python setup.py -q build_py' https://grpc-testing.appspot.com/job/protobuf_pull_request/1502/testReport/junit/(root)/python_cpp/python_cpp/
* | Add Python 3.5 3.6Jie Luo2017-08-221-2/+4
| |
* | Revert "Drop Python 3.3 from testing & add Python 3.5, 3.6 (#3512)" (#3524)Jie Luo2017-08-181-4/+3
| | | | | | This reverts commit 703f414ca6102e669ece2dcd5f7d9c2b05ca222e.
* | Drop Python 3.3 from testing & add Python 3.5, 3.6 (#3512)cclauss2017-08-181-3/+4
| | | | | | | | | | | | | | | | * Drop Python 3.3 from testing & add Python 3.5, 3.6 Python 3.3 goes [EOL](https://docs.python.org/devguide/index.html#branchstatus) next month. * Sync test.sh with the Python versions in tox.ini
* | Merge pull request #3454 from anandolee/masterJie Luo2017-08-071-2/+1
|\ \ | |/ |/| Add python 2.6 test back for cpp implementation.
| * Add python 2.6 test back for cpp implementation. Json format issue was fixed ↵Jie Luo2017-08-031-2/+1
| | | | | | | | in #869
* | Expose descriptor API in php c extension (#3422)Paul Yang2017-08-021-1/+10
|/
* Travis: Exclude CMake .pc filesAxel Huebl2017-07-231-0/+1
| | | | | | Exclude the unconfigured .pc input files of the CMake based install: they shall not be packed/distributed, only their outputs are
* Merge pull request #3375 from TeBoring/3.3.xPaul Yang2017-07-191-0/+37
|\ | | | | Merge 3.3.x into master
| * Merge 3.3.x into masterBo Yang2017-07-181-0/+37
| |\
| | * Fix c extension for php7.1. (#3077)Paul Yang2017-05-101-0/+37
| | |
* | | Support PHP generic services (#3269)Matt A2017-07-181-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add php_generic_services option * Generate PHP generic services * Respect namespaces for generated PHP services * Test PHP generated services * Rename PHP generator service method doc comment function * Correct phpdoc service method case * Test namespaced PHP generic services * Always use the FQCN for PHP generic service input/output * Add generated_service_test to php test.sh * Add php service test protos to CI * Add php service files to php_EXTRA_DIST * Use Interface suffix for php generic services
* | Add json encode/decode for php. (#3226)Paul Yang2017-06-301-26/+33
| | | | | | | | | | | | | | | | | | | | * Add json encode/decode for php. * Fix php conformance test on 32-bit machines. * Fix conformance test for c extension. * Fix comments
* | Add new file option php_namespace. (#3162)Paul Yang2017-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add new file option php_namespace. Use this option to change the namespace of php generated classes. Default is empty. When this option is empty, the package name will be used for determining the namespace. * Uncomment commented tests * Revert gdb test change * Update csharp descriptor. * Add test for empty php_namespace.
* | Convert C# projects to MSBuild (csproj) formatJon Skeet2017-05-241-16/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has one important packaging change: the netstandard version now depends (implicitly) on netstandard1.6.1 rather than on individual packages. This is the preferred style of dependency, and shouldn't affect any users - see http://stackoverflow.com/questions/42946951 for details. The tests are still NUnit, but NUnit doesn't support "dotnet test" yet; the test project is now an executable using NUnitLite. (When NUnit supports dotnet test, we can adapt to it.) Note that the project will now only work in Visual Studio 2017 (and Visual Studio Code, and from the command line with the .NET Core 1.0.0 SDK); Visual Studio 2015 does *not* support this project file format.
* | Add compatibility test for php. (#3041)Paul Yang2017-05-051-1/+12
|/ | | | | | * Add compatibility test for php. * Revert API incompatible change.
* Allow proto files to import descriptor.proto (#2995)Paul Yang2017-04-201-0/+1
| | | | | | | | | descriptor.proto uses proto2 syntax, which is not ready for external usage. However, some proto3 files import descriptor.proto and cannot be used. In this PR, all references (We cheated by only removing extensions, which is enough for now. User should avoid using messages defined in descriptor.proto as field type.) to content in descriptor.proto are removed from generated files. Those that import descriptor.proto can be used like other proto files.
* Make PHP c extension work with PHP7 (#2951)Paul Yang2017-04-191-60/+65
|
* Merge pull request #1662 from haberman/jsconformanceJoshua Haberman2017-03-271-0/+1
|\ | | | | Conformance tests for JavaScript (Node.js). 15 tests are failing.
| * Added JavaScript conformance tests. All tests pass!Josh Haberman2017-03-061-0/+1
| |
* | Add file option php_class_prefix (#2849)Paul Yang2017-03-171-1/+1
| | | | | | | | This option will be prepended to generated classes of all messages in the containing file.
* | Rename encode/decode to serializeToString/mergeFromString (#2795)Paul Yang2017-03-081-2/+17
|/ | | | | This better shows the semantic of the API. For already setted fields, mergeFromString do replacement for singular fields and appending for repeated fields.