benchbuild.projects.benchbuild.mcrypt module

class benchbuild.projects.benchbuild.mcrypt.MCrypt(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.project.Project

MCrypt benchmark

DOMAIN = 'encryption'
GROUP = 'benchbuild'
NAME = 'mcrypt'
SRC_FILE = 'mcrypt.tar.gz'
VERSION = '2.6.8'

Compile the project.


Download the selected version from the url_dict value.

libmcrypt_dir = 'libmcrypt-2.5.8'
libmcrypt_file = 'libmcrypt-2.5.8.tar.gz'
libmcrypt_uri = ''
mhash_dir = 'mhash-'
mhash_file = 'mhash-'
mhash_uri = ''

Run the tests of this project.

Clients override this method to provide customized run-time tests.

  • experiment – The experiment we run this project under
  • run – A function that takes the run command.
static versions()

Return a list of versions from the url_dict keys.