Added matlab version and system name in the generated report.

time-shift
Stéphane Adjemian (Charybdis) 2013-07-05 16:11:46 +02:00
parent dc57706b55
commit b997febc92
1 changed files with 4 additions and 1 deletions

View File

@ -29,11 +29,14 @@ fid = fopen('git.last-commit-hash');
gitlastcommithash = fgetl(fid);
fclose(fid);
matlabverion = version;
platform = computer;
listoffiles = get_directory_description(dirname);
[report, time] = run_unitary_tests(listoffiles);
if nargin>1 && savereport>0
save(['report-' gitlastcommithash '.mat'],'report','time','gitinfo','gitlastcommithash');
save(['report-' gitlastcommithash '.mat'],'report','time','gitinfo','gitlastcommithash','matlabverion','platform');
end
if nargin>2