# HG changeset patch # User Rik # Date 1385572280 28800 # Node ID 9f59f4f749860cb5971bc42bcb22737565ec2870 # Parent f1d791ffeeb44bcedeedb15ed7b7c2299da8dd19 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. diff -r f1d791ffeeb4 -r 9f59f4f74986 scripts/testfun/__run_test_suite__.m --- a/scripts/testfun/__run_test_suite__.m Wed Nov 27 08:30:00 2013 +0100 +++ b/scripts/testfun/__run_test_suite__.m Wed Nov 27 09:11:20 2013 -0800 @@ -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 = {}; diff -r f1d791ffeeb4 -r 9f59f4f74986 test/fntests.m --- a/test/fntests.m Wed Nov 27 08:30:00 2013 +0100 +++ b/test/fntests.m Wed Nov 27 09:11:20 2013 -0800 @@ -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;