Mercurial > hg > octave-nkf
changeset 18028:9f59f4f74986 stable
test: Run test suite tests in compilation order (liboctave, libinterp, scripts).
* __run_test_suite__.m: Run liboctave tests ahead of libinterp tests.
* test/fntests.m: Run liboctave tests ahead of libinterp tests.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 27 Nov 2013 09:11:20 -0800 |
parents | f1d791ffeeb4 |
children | 2ef2043a0601 |
files | scripts/testfun/__run_test_suite__.m test/fntests.m |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/testfun/__run_test_suite__.m +++ b/scripts/testfun/__run_test_suite__.m @@ -28,7 +28,7 @@ fixedtestdir = fullfile (testsdir, "fixed"); fcnfiledir = octave_config_info ("fcnfiledir"); if (nargin == 0) - fcndirs = { libinterptestdir, liboctavetestdir, fcnfiledir }; + fcndirs = { liboctavetestdir, libinterptestdir, fcnfiledir }; fixedtestdirs = { fixedtestdir }; endif global files_with_no_tests = {};
--- a/test/fntests.m +++ b/test/fntests.m @@ -43,12 +43,12 @@ testdirs = {currdir, srcdir}; endif +liboctave_tree = canonicalize_file_name (fullfile (topbuilddir, "liboctave")); src_tree = canonicalize_file_name (fullfile (topbuilddir, "libinterp")); -liboctave_tree = canonicalize_file_name (fullfile (topbuilddir, "liboctave")); script_tree = canonicalize_file_name (fullfile (topsrcdir, "scripts")); local_script_tree = canonicalize_file_name (fullfile (currdir, "../scripts")); -fundirs = {src_tree, liboctave_tree, script_tree}; +fundirs = {liboctave_tree, src_tree, script_tree}; if (! strcmp (currdir, srcdir)) fundirs{end+1} = local_script_tree;