Commit 69103edf authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5206 update run.stress-tests.py


git-svn-id: file:///svn/toku/tokudb@45952 c7de825b-a66e-492c-adef-691d508d4ae1
parent 34da6fb4
...@@ -484,6 +484,9 @@ def rebuild(tokudb, builddir, installdir, cc, tests): ...@@ -484,6 +484,9 @@ def rebuild(tokudb, builddir, installdir, cc, tests):
info('Building tokudb.') info('Building tokudb.')
if not os.path.exists(builddir): if not os.path.exists(builddir):
os.mkdir(builddir) os.mkdir(builddir)
newenv = os.environ
newenv['CC'] = 'gcc47'
newenv['CXX'] = 'g++47'
r = call(['cmake', r = call(['cmake',
'-DCMAKE_BUILD_TYPE=Debug', '-DCMAKE_BUILD_TYPE=Debug',
'-DINTEL_CC=%s' % iccstr, '-DINTEL_CC=%s' % iccstr,
...@@ -494,6 +497,7 @@ def rebuild(tokudb, builddir, installdir, cc, tests): ...@@ -494,6 +497,7 @@ def rebuild(tokudb, builddir, installdir, cc, tests):
'-DUSE_ETAGS=OFF', '-DUSE_ETAGS=OFF',
'-DUSE_CSCOPE=OFF', '-DUSE_CSCOPE=OFF',
tokudb], tokudb],
env=newenv,
cwd=builddir) cwd=builddir)
if r != 0: if r != 0:
error('Building the tests failed.') error('Building the tests failed.')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment