This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Binutils testcases


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]