[qmtest] Problems with context, and with failed tests.

Mark Mitchell mark at codesourcery.com
Thu Jan 24 03:01:17 UTC 2002



--On Monday, January 21, 2002 01:49:21 PM +0300 Vladimir Prus 
<ghost at cs.msu.su> wrote:

>
> Hi,
>
> 1.  Suppose that I run somewhere the following commnad:
>
> 	qmtest -D tdb run -c root=/home/ghost/Work/nm_model asm.echo
>
> "asm.echo" is test.ShellCommandTest with command set to
>
> 	echo "Foobar" ${QMV_root}
>
> The test of course fails and result.qmr reads:
>
> 	<property name='ExecTest.stdout'>'''Foobar /home/ghost/Work/nm_model
> 	'''</property>
>
> I then make a file QMcontext, containing the following:
>
> 	root=/home/ghost/Work/nm_model
> 	nm_dir=/home/ghost/Work/nmsdk_shadow
>
> And then I run:
>
> 	qmtest -D tdb run -C QMcontext asm.echo
>
> No errors about the context file are given, but results.qmr now reads:
>
> 	<property name='ExecTest.stdout'>'''Foobar
> 	'''</property>

Thank you for this bug report.  We will fix this quickly.

> What happened with the QMV_root variable?
>
> 2. I try to run a test suite called "asm". Only 2 tests of 7 are actually
> run, after which I get:

Would you mind sending me a tar/ or zip file of your test database,
i.e., the QMTest directory?

Thank you,

--
Mark Mitchell                   mark at codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com




More information about the qmtest mailing list