Closed harish-24 closed 8 years ago
Hello @harish-24, yes the ;
is part of the results dir specification and it will be present in case there are multiple variants of the test (not only iterations).
Does the '"%s"'
work fine? If so then please add it as the dir name could also contain spaces, which usually generates troubles too. Alternatively (only if the '"%s"'
does not work) you could use os.chdir()
and os.path.relpath()
but I'd prefer the cleaner solution you proposed.
'"%s"'
works fine. Will use this.
Cool, I'm closing this issue, looking forward to the updated version of IOZone.
@ldoktor : I am facing an similar kind of issue when I try to port ltp. Actually, my script has 26 variants and it does , os.chdir(self.srcdir) build.make(self.srcdir, extra_args='autotools')
So each time the source directory path is of the format - /var/tmp/avocado_6_AmUN/01-bkp.py_ltp.test;1/src
and make autotools fails with the error - o/p: Running 'make autotools' [stderr] /var/tmp/avocado_6_AmUN/01-bkp.py_ltp.test;1/src/include/mk/automake.mk:113: *\ missing separator. Stop.
If source directory path does not contain ';' I will not get this error How should I proceed now?
Well it's a pity some programs can't cope with such name. There is already one workaround for workdir
introduced in 136a78b so let me add another one for ;
.
@ldoktor I was going through the iterations in #29. I used the suggested way for iteration.
While performing 'gnuplot' , because of the ';' in folder name of each variant, the command fails.
Is there a reason for using ';' in folder name for multiplex ? If so, do we need to handle it by
gnuplot \"%s\"
as a workaround ?