arpack-ng  

Issue 1430: dnsimp test fails in VPATH builds

Reported by Roland Wirth, May 6, 2014

Steps to reproduce the problem:
1. extract archive, cd to extracted archive
2. mkdir _build && cd _build
3. ../configure && make check

Expected result:
All tests should pass

Actual result:
test dnsimp fails because testA.mtx can not be found in build/TESTS 
(the file is only present in TESTS)

This problem can easily be fixed by adding a shell script that 
executes the binary inside the source directory, e.g. 
test-dnsimp.sh,

#!/bin/sh
pwd=`pwd`
cd "$srcdir" && exec "$pwd/dnsimp"

and modifying the Makefile.am in TESTS

TESTS = test-dnsimp.sh bug_1323
EXTRA_DIST = testA.mtx test-dnsimp.sh

Created: 3 years 7 months ago by Roland Wirth

Status: New

Labels:
Type:Defect
Priority:Medium