diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-09 23:06:57 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-09 23:06:57 -0500 |
commit | dcc5dab6acbb294655cdf8f26f0577d8a5770b13 (patch) | |
tree | db0f14792c266452dc1eaa7c7b3994dfb11175d6 /SConstruct | |
parent | facc08793683c63cc658d0ae549f3561411f0a08 (diff) | |
download | gpsd-dcc5dab6acbb294655cdf8f26f0577d8a5770b13.tar.gz |
In SConstruct, set a non-default GPSD_SHM_KEY value for the tests.
All regression tests pass.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -232,6 +232,11 @@ for var in import_env: envs["GPSD_HOME"] = os.getcwd() envs["LD_LIBRARY_PATH"] = os.getcwd() +# In the test productions, use a non-default value of the SHM key +# to avoid colliding with production instances. Value must be legal for +# atoi(3)/strtoul(3); this is the default key plus one. +envs["GPSD_SHM_KEY"] = "0x47505345" + env = Environment(tools=["default", "tar", "textfile"], options=opts, ENV=envs) opts.Save('.scons-option-cache', env) env.SConsignFile(".sconsign.dblite") |