1 #!/usr/bin/octave --silent
3 # You'll need to use the .octaverc in this directory to get the proper
7 addpath('./unit_test');
9 global unittest_results;
13 test_files = glob('tests/*.m');
15 ## Source every file that matches the glob above.
16 cellfun(@source, test_files);
19 fprintf('Total tests attempted: %d\n', unittest_results.total);
20 fprintf('Total tests passed: %d\n', unittest_results.pass);
21 fprintf('Total tests failed: %d\n', unittest_results.fail);