How do you add prerequisites test from the command line?
Mohamed Barwani
mohamedb at sgi.com
Thu Aug 28 03:51:55 UTC 2008
Sorry if this was documented somewhere and I can't find it..
Most of what I try causes this exception,
$ qmtest create -a prerequisites="['('hello', 'PASS')']" test command.ExecTest
Traceback (most recent call last):
File "/usr/bin/qmtest", line 132, in <module>
exit_code = main()
File "/usr/bin/qmtest", line 110, in main
exit_code = command.Execute()
File "[some-location]/qmtest/build/lib.linux-x86_64-2.5/qm/test/cmdline.py", line 796, in Execute
return method()
File "[some-location]/qmtest/build/lib.linux-x86_64-2.5/qm/test/cmdline.py", line 1054, in __ExecuteCreate
(self.__arguments[1], class_loader, extension_loader))
File "[some-location]/qmtest/build/lib.linux-x86_64-2.5/qm/extension.py", line 631, in parse_descriptor
arguments = validate_arguments(extension_class, arguments)
File "[some-location]/qmtest/build/lib.linux-x86_64-2.5/qm/extension.py", line 353, in validate_arguments
converted_arguments[name] = field.ParseTextValue(value)
File "/usr/lib/python2.5/site-packages/qm/fields.py", line 1243, in ParseTextValue
elements.append(self.__contained.ParseTextValue(v))
File "/usr/lib/python2.5/site-packages/qm/fields.py", line 336, in ParseTextValue
raise NotImplemented
TypeError: exceptions must be classes, instances, or strings (deprecated), not NotImplementedType
cheers
--
Mohamed Barwani
ASGQA
"Everything is vague to a degree you do not realize till you have tried to make it precise." --Bertrand Russell
More information about the qmtest
mailing list