comparison test/fntests.m @ 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 d63878346099
children 4197fc428c7d
comparison
equal deleted inserted replaced
18027:f1d791ffeeb4 18028:9f59f4f74986
41 testdirs = {srcdir}; 41 testdirs = {srcdir};
42 else 42 else
43 testdirs = {currdir, srcdir}; 43 testdirs = {currdir, srcdir};
44 endif 44 endif
45 45
46 liboctave_tree = canonicalize_file_name (fullfile (topbuilddir, "liboctave"));
46 src_tree = canonicalize_file_name (fullfile (topbuilddir, "libinterp")); 47 src_tree = canonicalize_file_name (fullfile (topbuilddir, "libinterp"));
47 liboctave_tree = canonicalize_file_name (fullfile (topbuilddir, "liboctave"));
48 script_tree = canonicalize_file_name (fullfile (topsrcdir, "scripts")); 48 script_tree = canonicalize_file_name (fullfile (topsrcdir, "scripts"));
49 local_script_tree = canonicalize_file_name (fullfile (currdir, "../scripts")); 49 local_script_tree = canonicalize_file_name (fullfile (currdir, "../scripts"));
50 50
51 fundirs = {src_tree, liboctave_tree, script_tree}; 51 fundirs = {liboctave_tree, src_tree, script_tree};
52 52
53 if (! strcmp (currdir, srcdir)) 53 if (! strcmp (currdir, srcdir))
54 fundirs{end+1} = local_script_tree; 54 fundirs{end+1} = local_script_tree;
55 endif 55 endif
56 56