Opened 12 years ago
Closed 9 years ago
#338 closed enhancement (fixed)
test configuration does not work with configure --prefix
Reported by: | abeccati | Owned by: | Kinga Lipskoch |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | systemtest | Version: | 8.4 |
Keywords: | Cc: | ||
Complexity: | Easy |
Description
make check complains that rasdaman is not installed if —prefix is used and rasdaman bin is not on the path, which hinders testing different versions.
Having maintenance branches calls for configurable test environment
to reporoduce
git clone
configure with —prfix=/usr/local/rasdaman-8.4.0
make && make install
./systemtest/testcases_petascope/test_wcs/test.sh
test.sh: rasdaman not installed, please add to the PATH.
test.sh: exiting.
Adding to the PATH works but its error prone since the instance in the path can be not the one intended to be tested.
Proposed solution is to put an RMANROOT or similar parameter into the test_wcps/test.cfg that gets "configured" by autotools using —prefix (or its default)
Change History (6)
comment:1 by , 12 years ago
comment:6 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
In the autotools this is the ${prefix} variable I think, see source:bin/Makefile.am for example on how scripts are made aware of this.