[qmtest] OS shell dependencies?

Mark Elkin melkin at qualcomm.com
Tue Jun 8 23:55:27 UTC 2010


Well, I've figured most of it out.  Partly it is a quirk of the Z shell command line.  And partly it is because I did LITERALLY cut-paste from the qmtest tutorial.

In the tutorial, the command line is:

qmtest create --id compile test compilation_test.CompilationTest(executable="compile", source_files="['/path/to/compile.cc']")"

The problem turns out to be a missing double-quote symbol as well as mixing up single and double quotes.  I found that the following is the correct syntax for both BASH and TCSH:

qmtest create --id compile test "compilation_test.CompilationTest(executable='compile', source_files='["/path/to/compile.cc"]')"

Since this works for both BASH and TCSH, I'm just going to withdraw the ZSH comment.  (I'm not a ZSH fan anyway, but it is what the sysadmins like.)


Mark




More information about the qmtest mailing list