Passing context variables through command line...
Mohamed Barwani
mohamedb at sgi.com
Fri Jul 25 01:04:09 UTC 2008
What am I doing wrong? The test can't seem to find the context variables
[]# qmtest create-tdb
QMTest has created a new test database at '/root/mohamedb/.'.
[]# qmtest create --id=print_context -a source="print context" test
python.ExecTest
[]# qmtest run -c foo=bar
{'qmtest.tmpdir': '/tmp/tmpXS9UdD', 'qmtest.target': 'local', 'qmtest.dbpath': '/root/mohamedb', 'qmtest.id': 'print_context'}
--- TEST RESULTS -------------------------------------------------------------
print_context : PASS
--- TESTS THAT DID NOT PASS --------------------------------------------------
None.
--- STATISTICS ---------------------------------------------------------------
1 tests total
1 (100%) tests PASS
Note: {'foo':'bar'} is not in the dictionary
--
Mohamed Barwani
ASGQA
"Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning." -- Rick Cook
More information about the qmtest
mailing list