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 Dimitar Misev, 12 years ago

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.

comment:2 by Dimitar Misev, 12 years ago

Correction, it's $(bindir)

comment:3 by Dimitar Misev, 11 years ago

Kinga what is the status of this ticket?

comment:4 by Kinga Lipskoch, 11 years ago

The status is not yet-fixed, because having priorities on other issues.

comment:5 by Dimitar Misev, 11 years ago

Maybe we should assign it to someone else, it's 8 months old.

comment:6 by Dimitar Misev, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.