Mercurial > hg > octave-nkf
changeset 20534:79d64c58daea
use $(abs_top_srcdir) in rules for running tests
* test/module.mk (check-local, check-jit): Use $(abs_top_srcdir)
instead of $(srcdir) for file and directory names to pass to the
run-octave script.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 08 Jul 2015 12:55:10 -0400 |
parents | 820c5a4dd0ab |
children | 2d84d27dc9f0 |
files | test/module.mk |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/module.mk +++ b/test/module.mk @@ -52,11 +52,11 @@ @$(gdbinit_install_rule) check-local: - cd test && ../run-octave $(RUN_OCTAVE_OPTIONS) --norc --silent --no-history $(srcdir)/test/fntests.m $(srcdir)/test + cd test && ../run-octave $(RUN_OCTAVE_OPTIONS) --norc --silent --no-history $(abs_top_srcdir)/test/fntests.m $(abs_top_srcdir)/test if AMCOND_HAVE_LLVM check-jit: test/sparse.tst test/bc-overload-tests.stamp test/$(octave_dirstamp) - cd test && ../run-octave $(RUN_OCTAVE_OPTIONS) --jit-compiler --norc --silent --no-history $(srcdir)/test/fntests.m $(srcdir)/test + cd test && ../run-octave $(RUN_OCTAVE_OPTIONS) --jit-compiler --norc --silent --no-history $(abs_top_srcdir)/test/fntests.m $(abs_top_srcdir)/test endif test/sparse.tst: test/build-sparse-tests.sh test/$(octave_dirstamp)