Bug 77402 - Possible root of fails in test script 'test_driver.pl' from built-in test suite
Possible root of fails in test script 'test_driver.pl' from built-in test suite
Product: Red Hat Linux
Classification: Retired
Component: make (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2002-11-06 10:03 EST by Andrey
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-11-06 10:05:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch for test_driver.pl (467 bytes, patch)
2002-11-06 10:04 EST, Andrey
no flags Details | Diff

  None (edit)
Description Andrey 2002-11-06 10:03:57 EST
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):

How reproducible:

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.

Additional info:
Comment 1 Andrey 2002-11-06 10:04:58 EST
Created attachment 83864 [details]
Patch for test_driver.pl
Comment 2 Jakub Jelinek 2002-11-10 15:22:04 EST
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).

Note You need to log in before you can comment on or make changes to this bug.