This is the mail archive of the
mailing list for the binutils project.
Re: Problems testing binutils with DejaGnu 1.6+
- From: Nick Clifton <nickc at redhat dot com>
- To: andrewbass at gmail dot com, binutils at sourceware dot org
- Date: Thu, 10 Aug 2017 14:25:00 +0100
- Subject: Re: Problems testing binutils with DejaGnu 1.6+
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=nickc at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B52CBC098E60
- References: <email@example.com>
Sorry for the delay in responding to this email. I am not an expert
on dejagnu and I was hoping that someone else would answer...
>> $ make -k RUNTESTFLAGS='--all --xml' check
> This ran fine with runtest 1.5.1, but produces the following error with
> runtest 1.6:
Right - this happens for me too.
> Is this a problem with binutils (Makefile.am/site.exp), or should I
> report a bug to DejaGnu maintainers?
No, I think that it is a dejagnu problem. I can reproduce the failure
without using the binutils make system at all:
$ cd <bbinutils-build-dir>/binutils
% runtest --tool binutils --srcdir <path-to-binutils-testsuite> --all --xml
couldn't open "<path-to-binutils-testsuite>": illegal operation on a directory
"open [file join $outdir $xml_file_name] w"
I think that the code to handle --xml without a filename argument is broken
and it is picking the first pathname like argument that it finds on the command
line. (This is just a guess).
So - please do report the problem to DejaGnu.