Bug 77402

Summary: Possible root of fails in test script 'test_driver.pl' from built-in test suite
Product: [Retired] Red Hat Linux Reporter: Andrey <andreypozdeev>
Component: makeAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-11-06 15:05:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch for test_driver.pl none

Description Andrey 2002-11-06 15:03:57 UTC
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:
Always

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 15:04:58 UTC
Created attachment 83864 [details]
Patch for test_driver.pl

Comment 2 Jakub Jelinek 2002-11-10 20:22:04 UTC
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).