Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to run i386 in gcc_test-suite using dejagnu runtest and it fails with error given below. I can see that gcc-dg.exp is in folder gcc-4.6-20100911/gcc/testsuite/lib, but runtest is not searching in this folder.
Please suggest on how to resolve this issue and run only i386 tests.
$ cd /gcc-4.6-20100911/gcc/testsuite/gcc.target
$ runtest -a -tool i386 -verbose
....
....
Looking for library file /usr/local/share/dejagnu/lib/gcc-dg.exp
Looking for library file ./dejagnu/lib/gcc-dg.exp
Looking for library file ./lib/gcc-dg.exp
Looking for library file ./gcc-dg.exp
Looking for library file ./dejagnu/lib/gcc-dg.exp
ERROR: Couldn't find library file gcc-dg.exp.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
'gcc-dg.exp' is not a library. Is a "library file" ( text ).
Not supposed to be installed.
But I guess, you can just add it to the path :
export LD_LIBRARY_PATH=/home/<xx>//gcc-4.6-20100911/gcc/testsuite/lib
&& cd /gcc-4.6-20100911/gcc/testsuite/gcc.target &&
runtest -a -tool i386 -verbose
$ cd /home/gcc_test-suite/gcc-4.5.1/gcc/testsuite/gcc.target/i386
$ runtest -a -tool i386 -verbose
OUTPUT of above command is as follows: Opening log files in .
Test Run By root on Tue Sep 21 17:11:24 2010
Native configuration is x86_64-unknown-linux-gnu
=== i386 tests ===
setting trap for SIGTERM to terminated
setting trap for SIGINT to interrupted by user
setting trap for SIGQUIT to interrupted by user
setting trap for SIGSEGV to segmentation violation
....
....Other messages(not errors),I have removed it.......
....
pushing config for target, name is unix
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.