summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2016-03-15 16:52:12 -0700
committerEric S. Raymond <esr@thyrsus.com>2016-03-15 20:31:42 -0400
commitad684978ffad23c8bee753eb90a9fa67dd07682d (patch)
treed88f6fc859275ebada1a2735e963b62d89afbb0e /SConstruct
parentf3f0ba3f60f891c0e90aac15a7e928b67b0ece97 (diff)
downloadgpsd-ad684978ffad23c8bee753eb90a9fa67dd07682d.tar.gz
Switches parallel regression tests from UDP to TCP.
Although UDP is a bit faster than TCP (albeit negligibly so on most platforms), the method for assigning "fake data" ports is less robust for UDP than for TCP. This leads to occasional "can't connect" errors with parallel regression tests. The fix is just to use TCP instead. TESTED: Successfully ran parallel "scons build-all check" on OSX, Linux, FreeBSD, OpenBSD, and NetBSD, both with and without coveraging.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 3 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 1eb80a9d..56a9ad90 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1587,7 +1587,7 @@ else:
gps_tests = []
for gps_name, gps_log in zip(gps_names, gps_logs):
gps_tests.append(Utility('gps-regress-' + gps_name, gps_herald,
- '$SRCDIR/regress-driver -qu $REGRESSOPTS '
+ '$SRCDIR/regress-driver -q -o -t $REGRESSOPTS '
+ gps_log))
if GetOption('num_jobs') <= 1:
gps_regress = Utility('gps-regress', gps_herald,
@@ -1613,7 +1613,8 @@ else:
gps_rebuilds = []
for gps_name, gps_log in zip(gps_names, gps_logs):
gps_rebuilds.append(Utility('gps-makeregress-' + gps_name, gps_herald,
- '$SRCDIR/regress-driver -bqu $REGRESSOPTS '
+ '$SRCDIR/regress-driver -bq -o -t '
+ '$REGRESSOPTS '
+ gps_log))
if GetOption('num_jobs') <= 1:
Utility('gps-makeregress', gps_herald,