Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Vladimir Prus <ghost@xxxxxxxxx>, "qmtest@xxxxxxxxxxxxxxxx" <qmtest@xxxxxxxxxxxxxxxx>
  • Subject: Re: [qmtest] Problems with context, and with failed tests.
  • From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
  • Date: Wed, 23 Jan 2002 19:01:17 -0800



--On Monday, January 21, 2002 01:49:21 PM +0300 Vladimir Prus <ghost@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
CodeSourcery, LLC               http://www.codesourcery.com