def setup_module(m): m.tempdir = clone_source() m.orig = os.getcwd() m.path = os.environ['PATH'] os.chdir(m.tempdir) os.environ[ 'PATH'] = f'{os.getcwd()}/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/bin' shell.run('make clean', stream=True) compile_buffer_sizes('_csv', buffers) shell.run('make _csv')
def setup_module(m): m.tempdir = clone_source() m.orig = os.getcwd() m.path = os.environ['PATH'] os.chdir(m.tempdir) os.environ[ 'PATH'] = f'{os.getcwd()}/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/bin' shell.run('make clean', stream=True) compile_buffer_sizes('csv', buffers) compile_buffer_sizes('bsv', buffers) compile_buffer_sizes('bsort', buffers) compile_buffer_sizes('bschema', buffers) compile_buffer_sizes('bcounteach-hash', buffers) shell.run('make bsv csv bsort bschema bcounteach-hash', stream=True)