← Back to team overview

randgen team mailing list archive

Re: Add a variable to a combinations file



yes, we have encountered this question : John in our team did some experiments around this:

An Example cc-file contents:

  '--seed=random '.
  '--threads=1 '.
  '--duration=60 '.
  '--grammar=conf/optimizer/optimizer_subquery.yy --engine=InnoDB',

this should solve what your trying , will let John add more detail on it.


On Monday 10 March 2014 10:13 PM, Joel Epstein wrote:

I am trying to add a --basedir variable to a combinations (.cc) file such that I can modify what build I am using and implement some automation. The cc file is ultimately evaluated by the combinations.pl file, but I am not having much luck trying to figure out where I can get this to work. The first example shows how the location is explicitly named. The second shows what the scalar variable I am trying to introduce.

'--grammar=conf/percona_qa/tokudb/tokudb.yy --gendata=conf/percona_qa/5.6/5.6.zz1 --threads=15 --no-mask

"--grammar=conf/percona_qa/tokudb/tokudb.yy --gendata=conf/percona_qa/tokudb/tokudb.zz1 --threads=15 --no-mask

I am curious if anyone has attempted this or knows combinations.pl well enough to make a suggestion or two regarding how I might elegantly introduce this variable.

Thanks in advance,


Mailing list: https://launchpad.net/~randgen
Post to     : randgen@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~randgen
More help   : https://help.launchpad.net/ListHelp