GNU bug report logs - #67312
feature request: avoid creating logs for no tests

Previous Next

Package: dejagnu;

Reported by: Tom Tromey <tom <at> tromey.com>

Date: Mon, 20 Nov 2023 23:13:01 UTC

Owned by: jcb62281 <at> gmail.com

Severity: wishlist

Full log


View this message in rfc822 format

From: Tom Tromey <tom <at> tromey.com>
To: 67312 <at> debbugs.gnu.org
Subject: bug#67312: dejagnu creates testrun.{sum,log}
Date: Mon, 20 Nov 2023 16:12:35 -0700
I've noticed that if I run 'runtest' in the wrong directory -- for
example in the source directory rather than the appropriate build
directory -- dejagnu will create files testrun.log and testrun.sum.

In this case these files are not actually useful.

And, runtest already emits some warnings about this:

prentzel. runtest 
WARNING: testsuite is not in a testsuite/ directory.
WARNING: Couldn't find the global config file.
WARNING: No tool specified

I think it would be nicer if, when dejagnu notices that the environment
is unsuitable (like, no tool specified), then it should just print
errors and exit -- without creating these files.

thanks
Tom




This bug report was last modified 1 year and 211 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.