[qmtest] environment variable 'targetname'
Richard Poppe
rpoppe65 at hotmail.com
Thu May 12 05:41:48 UTC 2005
I am using the following version:
C:\tdb>qmtest.py --version
QMTest 2.2
Copyright (C) 2002, 2003, 2004 CodeSourcery, LLC
I also discovered another issue which may be related. When i am executing my
test t1 i get an environment variable 'QMV_qmtest__id=t1', but when i am
executing this test by executing a suite which contains this test the
environment variable is not available anymore.
Reproduction scenario:
C:\>cd \tdb
C:\tdb>PATH C:\Python23\Scripts;%PATH%
C:\tdb>qmtest.py create-target ws1 thread_target.ThreadTarget group1
C:\tdb>qmtest.py create-target ws2 thread_target.ThreadTarget group1
C:\tdb>qmtest.py gui
Create test t1 using the web/gui:
Class: command.ExecTest
Program: C:\WINNT\system32\cmd.exe
Argument List: /c "set
Target Group Pattern: group1
(executing this test will gave a fail, but the details give the environment
variables that are available)
Create suite s1 using the web/gui
s1 only contains test t1.
Test t1, run this test:
QMV_qmtest__tmpdir=c:\temp\tmphb1jqk
QMV_qmtest__id=t1
QMV_qmtest__target=Target constant
QMV_qmtest__dbpath=C:\tdb
Suite s1 which contains test t1, run this suite:
QMV_qmtest__tmpdir=c:\temp\tmpx58kdw
QMV_qmtest__target=Target constant
QMV_qmtest__dbpath=C:\tdb
_________________________________________________________________
Gebruik MSN Webmessenger op je werk en op school
http://webmessenger.msn.com/
More information about the qmtest
mailing list