RE: [qmtest] OS shell dependencies?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [qmtest] OS shell dependencies?
- To: <qmtest@xxxxxxxxxxxxxxxx>
- Subject: RE: [qmtest] OS shell dependencies?
- From: Mark Elkin <melkin@xxxxxxxxxxxx>
- Date: Tue, 8 Jun 2010 16:55:27 -0700
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