[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
[qmtest] Passing context variables through command line...
- To: qmtest@xxxxxxxxxxxxxxxx
- Subject: [qmtest] Passing context variables through command line...
- From: Mohamed Barwani <mohamedb@xxxxxxx>
- Date: Fri, 25 Jul 2008 11:04:09 +1000
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
|