[qmtest] problem with targets file
Jain, Pankaj
pankajj at qualcomm.com
Thu Sep 29 16:46:53 UTC 2005
Thanks for the info. Actually I have the database on remote machine but
seems like directory structure on local and remote machine has to be
identical. That's another problem now.. is there any way I can specify
the path to database on remote machine. This will solve all my problems.
Please respond.
Thanks
Pankaj
-----Original Message-----
From: Pragnesh Sampat [mailto:pragnesh.sampat at timesys.com]
Sent: Wednesday, September 28, 2005 3:32 PM
To: Stefan Seefeld
Cc: qmtest at codesourcery.com
Subject: Re: [qmtest] problem with targets file
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