Red Hat Bugzilla – Bug 77402
Possible root of fails in test script 'test_driver.pl' from built-in test suite
Last modified: 2007-04-18 12:48:11 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)
Description of problem:
There's possible root of fails in test script 'tests/test_driver.pl' from built-
in test suite. This script doesn't take in account environment
variable 'LD_LIBRARY_PATH'. Script just clears this variable. It may affect
behaviour of tests when 'make' is being built with compilers other than GNU GCC
(I used Intel C++ compiler) because set of libraries used by another compilers
may differ from that one used in GCC. In this example 'make' can't find
necessary C-runtime library libcxa.so (It's used by Intel C++ compiler). May be
it will be better to save value of this variable ? I tried to do this, it
helps. I've attached patch 'test_driver.pl.patch'
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. build 'make' with compiler other than GNU GCC (I used Intel C++ compiler)
2. start built-in tests with 'make check'
Actual Results: built 'make' can't find some standard libraries which comes
with the compiler (Intel C++ compiler). Tests don't run correctly. It implies a
lot of fails (64).
Expected Results: Tests should run correctly.
Created attachment 83864 [details]
Patch for test_driver.pl
You should install the compiler properly if you plan to use it.
(like put it into /etc/ld.so.conf or put the library into /usr/lib).