emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41585: closed (Default value of "libdir" is incorrect)


From: GNU bug Tracking System
Subject: bug#41585: closed (Default value of "libdir" is incorrect)
Date: Fri, 29 May 2020 03:13:02 +0000

Your message dated Thu, 28 May 2020 22:12:10 -0500
with message-id <5ED07D8A.8060902@gmail.com>
and subject line Re: bug#41585: Patch submitted on temporary branch PR41585
has caused the debbugs.gnu.org bug report #41585,
regarding Default value of "libdir" is incorrect
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
41585: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41585
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Default value of "libdir" is incorrect Date: Thu, 28 May 2020 18:13:04 -0500 User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0 I have finally replicated an issue (where stats.exp mysteriously failed on his machine but passes on mine) Rob Savoye had mentioned in private emails a few times and it has an impressively bizarre actual trigger: the inner runtest(1) invocations from testsuite/runtest.main/stats.exp fail to start unless the DejaGnu sources were checked out into a directory literally named 'dejagnu' (all lowercase, without the quotes). The inner runtest(1) invocations for the options.exp tests are not affected because they do not actually run any tests and options.exp matches the output it checks before runtest(1) prepares to run tests.

The problem is that the inner testsuite used for stats.exp is very minimal and this causes DejaGnu to search "libdir" (which is set incorrectly in runtest.exp) for a default configuration in runtest.exp:load_tool_target_config. The runtest.exp file is located in the correct libdir, whether in a source checkout or installed, but the code in runtest.exp currently expects runtext.exp to be LPREFIX/SOMETHING/runtest.exp and sets libdir to LPREFIX/dejagnu. If the sources are checked out in a 'dejagnu' directory, this happens to work. If DejaGnu is installed, this happens to work (runtest.exp is placed in PREFIX/share/dejagnu by default). If the sources are in any other directory, this does not work.

Report filed to get a bug number to go with the fix. Thanks to Rob Savoye for mentioning the test failures.

-- Jacob



--- End Message ---
--- Begin Message --- Subject: Re: bug#41585: Patch submitted on temporary branch PR41585 Date: Thu, 28 May 2020 22:12:10 -0500 User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0
Rob Savoye wrote:
That fixed stats.exp.
That resolves the problem, closing bug report.

-- Jacob


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]