pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/39432: Tests performed against installed packages rather than newly-built replacements



The following reply was made to PR pkg/39432; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/39432: Tests performed against installed packages rather than
 newly-built replacements
Date: Sun, 31 Aug 2008 21:42:48 +0900

 On Fri, 29 Aug 2008 20:50:01 +0900, <srcshelton%gmail.com@localhost> wrote:
 
 >>Fix:
 >
 > A test-suite isn't a great deal of use if it can't be executed until after 
 > the (potentially broken) package is installed...
 >
 > Even if this problem can't be fixed, surely a warning could be added to 
 > packages' Makefiles if it is known that their test suite will not complete 
 > successfully unless the updated package is first installed.
 
 'make test' works fine without installation.
 This problem will be happend when old version is still installed.
 (This is one of reasons why 'make update' delete the package first?)
 
 This test suite is performed with LD_LIBRARY_PATH pointing to ${WRKDIR}.
 Then works fine without installation.
 But test program is linked with -rpath pointing to ${PREFIX}/lib.
 This is because it is failed when old version is installed.
 
 -- 
 "Of course I love NetBSD":-)
 OBATA Akio / obache%NetBSD.org@localhost
 


Home | Main Index | Thread Index | Old Index