|
From: | Jacob Bachmeyer |
Subject: | bug#41585: 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 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |