This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Binutils testcases
- From: Jim Wilson <jimw at sifive dot com>
- To: megha meghanandeesh <mmegha1995 at gmail dot com>, binutils at sourceware dot org
- Date: Fri, 8 Mar 2019 11:02:42 -0800
- Subject: Re: Binutils testcases
- References: <CANNc28+00NyqpyCTWjwRyA2iaJacGsURvinwdxy=fom0ZcpGVA@mail.gmail.com>
On 3/8/19 4:26 AM, megha meghanandeesh wrote:
I am running binutils testcases inside
riscv-gnu-toolchain/build-binutils-newlib folder
using "make check". But I am getting error
Makefile:3485: recipe for target 'check-DEJAGNU' failed
How to solve this error?
You didn't show the full error. Probably there is a line that says
something like
WARNING: could not find `runtest'
which you didn't include in your bug report. To fix that, you need to
install the dejagnu package.
By the way, riscv-gnu-toolchain includes a copy of dejagnu for
convenience for people that may not have that package installed. If you
run "make check-binutils" at the top level, it will build dejagnu for
you before running the testsuite, and set environment variables so that
the testsuite can find it and use it correctly. It will also build qemu
for you for tests that need a simulator. If you want make check to work
inside the binutils build directory, then you will need to learn a
little about how dejagnu works.
Jim