Commit 2c1c343b authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

change stress test script to save libutil.so and to recreate the paths for the...

change stress test script to save libutil.so and to recreate the paths for the libraries we need (gdb has trouble otherwise)


git-svn-id: file:///svn/toku/tokudb@50462 c7de825b-a66e-492c-adef-691d508d4ae1
parent 02029a83
......@@ -199,8 +199,13 @@ class TestRunnerBase(object):
copy(f, targetfor(f))
fullexecf = os.path.join(self.builddir, 'src', 'tests', self.execf)
copy(fullexecf, targetfor(fullexecf))
for lib in glob(os.path.join(self.installdir, 'lib', '*.so')):
copy(lib, targetfor(lib))
for libname in ['util/libutil.so', 'portability/libtokuportability.so', 'src/libtokudb.so']:
fulllibpath = os.path.join(self.builddir, libname)
targetpath = os.path.join(savedir, fulllibpath)
targetdir = os.path.dirname(targetpath)
if not os.path.exists(targetdir):
os.makedirs(targetdir)
copy(fulllibpath, targetpath)
tarfile = '%s.tar' % savedir
r = call(['tar', 'cf', os.path.basename(tarfile), os.path.basename(savedir)], cwd=os.path.dirname(savedir))
......
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