[qmtest] problem with targets file

Pragnesh Sampat pragnesh.sampat at timesys.com
Wed Sep 28 22:31:32 UTC 2005


On Wed, 2005-09-28 at 18:02 -0400, Stefan Seefeld wrote:
> Jain, Pankaj wrote:
> > Thanks for the help.
> > Here are more details
> > Step1: create qmtest database : qmtest create-tdb
> > Step2: create few test using gui ( command.ExecTest class ) 
> > Step3: run the tests ( all pass no problem)
> > Step4: create target using command
> > Qmtest create-target -h name=pankajj OFFICEMACHINE rsh_target.RSHTarget
> > OFFICE :- it creates the target file under QMTest directory 
> 
> I'm not quite sure what you actually did here, as the line you print
> isn't syntactically correct. A correct line would be
> 
> qmtest create-target -a host=my_server my_target rsh_target.RSHTarget
> 
> > Step5: run qmtest using qmtest run command . 
> > Error : this is not a qmtest database. 
> 
> Replacing Step4 with a correct command to create a target I
> could successfully run the tests, i.e. I couldn't reproduce your problem.

I was also able to run a command remotely with the corrected syntax.

The only real step missing from the above sequence appears to be that
the test database is missing from the remote host (the database resides
on a different path on my target system, so I symlinked it on the
remote system).

BTW, is it possible to automatically copy the test database to the
remote host (and reference that database) before running the test?  I
am new to this, so not sure if my understanding is wrong here.

-Pragnesh




More information about the qmtest mailing list