From: jdoubleu <hi@jdoubleu.de>
To: newlib@sourceware.org
Subject: Cannot run testsuite
Date: Mon, 21 Mar 2022 16:37:19 +0100 [thread overview]
Message-ID: <b03a4e32-3bc0-73f1-91d3-2b07e851c48a@jdoubleu.de> (raw)
Hi,
I'm currently trying to run the newlib testsuite on my linux host.
Unforunately, it looks like the tests cannot be compiled (by DEJAGNU).
I've followed the steps in
https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=newlib/README;h=97890b9d20ca0ac9f206d7a2334d55a3d7052289;hb=HEAD#l470
to setup and configure my environment.
I'm getting the following stack trace when I run `make check`:
```
$ make check
...
make[1]: Entering directory '/path/to/newlib-cygwin/build'
Found expect: expect
Found runtest: runtest
/path/to/newlib-cygwin/build/testsuite
WARNING: Couldn't find tool init file
Test run by jdoubleu on Mon Mar 21 16:27:27 2022
Target is x86_64-pc-linux-gnu
Host is x86_64-pc-linux-gnu
=== newlib tests ===
Schedule of variations:
unix
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file
for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for
target.
Using /path/to/newlib-cygwin/newlib/testsuite/config/default.exp as
tool-and-target-specific interface file.
WARNING: Assuming target board is the local machine (which is probably
wrong).
You may need to set your DEJAGNU environment variable.
Running /path/to/newlib-cygwin/newlib/testsuite/newlib.elix/elix.exp ...
Running /path/to/newlib-cygwin/newlib/testsuite/newlib.iconv/iconv.exp ...
ERROR: (DejaGnu) proc "newlib_target_compile
/path/to/newlib-cygwin/newlib/testsuite/newlib.iconv/iconvnm.c
/path/to/newlib-cygwin/build/testsuite/iconvnm.x executable {}" does not
exist.
The error code is TCL LOOKUP COMMAND newlib_target_compile
The info on the error is:
invalid command name "newlib_target_compile"
while executing
"::tcl_unknown newlib_target_compile
/path/to/newlib-cygwin/newlib/testsuite/newlib.iconv/iconvnm.c
/path/to/newli..."
("uplevel" body line 1)
invoked from within
"uplevel 1 ::tcl_unknown $args"
=== newlib Summary ===
make[1]: Leaving directory '/path/to/newlib-cygwin/build'
```
Building the lib (`make`) works.
I've also noticed, the docs are mentioning to run `make
check-target-newlib` (see
https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=newlib/README;h=97890b9d20ca0ac9f206d7a2334d55a3d7052289;hb=HEAD#l505),
which does not seem to exist. I could only run `check` which eventually
runs `check-DEJAGNU`.
Best regards
--
🙎🏻♂️ jdoubleu
next reply other threads:[~2022-03-21 15:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 15:37 jdoubleu [this message]
2022-03-24 16:54 ` [PATCH] fix testsuite jdoubleu
2022-04-01 13:02 ` Corinna Vinschen
2022-04-07 9:38 ` jdoubleu
2022-04-07 15:28 ` Jeff Johnston
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b03a4e32-3bc0-73f1-91d3-2b07e851c48a@jdoubleu.de \
--to=hi@jdoubleu.de \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).