From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from deimos.uberspace.de (deimos.uberspace.de [185.26.156.152]) by sourceware.org (Postfix) with ESMTPS id 96A173857404 for ; Mon, 21 Mar 2022 15:37:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 96A173857404 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=jdoubleu.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jdoubleu.de Received: (qmail 14580 invoked by uid 989); 21 Mar 2022 15:37:22 -0000 Authentication-Results: deimos.uberspace.de; auth=pass (plain) Message-ID: Date: Mon, 21 Mar 2022 16:37:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: de-DE To: newlib@sourceware.org From: jdoubleu Subject: Cannot run testsuite Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Bar: -- X-Rspamd-Report: BAYES_HAM(-2.512046) MIME_GOOD(-0.1) X-Rspamd-Score: -2.612046 Received: from unknown (HELO unkown) (::1) by deimos.uberspace.de (Haraka/2.8.28) with ESMTPSA; Mon, 21 Mar 2022 16:37:21 +0100 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2022 15:37:26 -0000 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