Commit Graph

26 Commits

Author SHA1 Message Date
Nicolas "Pixel" Noble 1ff52d5278 Guard headers tool. 2015-03-01 06:18:14 +01:00
Craig Tiller 8451e87ced Extend timeouts for Travis 2x 2015-02-27 09:25:51 -08:00
Craig Tiller f6901be8cd Allow machine and build type tuning of slowdown 2015-02-27 09:12:58 -08:00
Craig Tiller 7b5eb7193c Increment 'try' variable
To ensure that we actually probe different ports
2015-02-27 07:52:09 -08:00
Craig Tiller 73509a5d53 Better port picker 2015-02-26 17:43:49 -08:00
Craig Tiller 8ad8a41a84 Introduce slowdown factor for unit test deadlines
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
2015-02-25 08:36:40 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Yang Gao 5fd0d29dfe run clang-format 2015-01-26 00:19:48 -08:00
Craig Tiller 0c0b60c322 Add platform ifdefs, fix up some MSVC warnings 2015-01-21 15:49:28 -08:00
Craig Tiller 7132d51b2e Include some useful help text 2015-01-16 09:00:12 -08:00
Craig Tiller 297fafa078 Opportunistically use perftools if installed.
Allows us to collect profiles of the open source build using gprof.
2015-01-15 15:46:39 -08:00
Craig Tiller 32946d37e0 () --> (void) 2015-01-15 11:37:30 -08:00
Yang Gao 5680ff4687 Run clang-format-all.sh 2015-01-14 12:14:21 -08:00
Craig Tiller e1e2475b69 Unify signal handling in C 2015-01-14 11:21:00 -08:00
Nicolas "Pixel" Noble 80d68c09c4 Fixing test_config.c
Now all the gpr tests build and run under win32.
2015-01-13 20:14:43 -08:00
Craig Tiller 21b19a552c Fix formatting 2015-01-13 12:39:32 -08:00
Craig Tiller 1ee7cb0c0b Merge github.com:google/grpc into format 2015-01-13 12:39:00 -08:00
Craig Tiller b5dcec5a2e clang-format codebase 2015-01-13 11:13:42 -08:00
Craig Tiller edd10d2596 Make this file usable from C++ 2015-01-12 16:40:51 -08:00
ctiller b3e3317ae8 Seed random numbers in each process based on pid.
This causes get_unused_port_or_die to try different port numbers in each
concurrently running tests, and consequently enables some parallelism of test
processes.
	Change on 2015/01/05 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83289374
2015-01-05 17:43:10 -08:00
pmarks b74550655a gRPC: Avoid AF_INET6 sockets when the ::1 loopback address doesn't exist.
On Linux with disable_ipv6=1, we can create sockets bound to [::]:port, yet
connecting to that address triggers an Unreachable error.  Since IPv6 is
useless on such machines, it's cleaner to turn it off than expose users to a
half-broken state.
	Change on 2014/12/17 by pmarks <pmarks@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82387437
2014-12-19 13:11:09 -08:00
jtattermusch 94204dda83 Fix ipv6.c build breakage on Windows.
Change on 2014/12/11 by jtattermusch <jtattermusch@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81910401
2014-12-11 15:11:44 -08:00
pmarks 465554e5b6 Add a grpc_ipv6_loopback_available() test utility, and only run IPv6-specific
tests on machines that support AF_INET6 sockets bound to ::1.

Listening on :: or connecting to a mapped address should always work.
	Change on 2014/12/10 by pmarks <pmarks@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81837056
2014-12-11 15:11:44 -08:00
jtattermusch 97fb3f6481 Add mako templates to generate MS Visual Studio projects.
Current state for Windows platform:
-- gpr and grpc_test_util can be compiled
-- gpr_log_test and gpr_cmdline_test pass
	Change on 2014/12/08 by jtattermusch <jtattermusch@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81615574
2014-12-08 18:50:13 -08:00
Nicolas Noble b7ebd3b8c6 Initial import. 2014-11-26 16:33:03 -08:00