Added matlab version and system name in the generated report.
parent
dc57706b55
commit
b997febc92
|
@ -29,11 +29,14 @@ fid = fopen('git.last-commit-hash');
|
||||||
gitlastcommithash = fgetl(fid);
|
gitlastcommithash = fgetl(fid);
|
||||||
fclose(fid);
|
fclose(fid);
|
||||||
|
|
||||||
|
matlabverion = version;
|
||||||
|
platform = computer;
|
||||||
|
|
||||||
listoffiles = get_directory_description(dirname);
|
listoffiles = get_directory_description(dirname);
|
||||||
[report, time] = run_unitary_tests(listoffiles);
|
[report, time] = run_unitary_tests(listoffiles);
|
||||||
|
|
||||||
if nargin>1 && savereport>0
|
if nargin>1 && savereport>0
|
||||||
save(['report-' gitlastcommithash '.mat'],'report','time','gitinfo','gitlastcommithash');
|
save(['report-' gitlastcommithash '.mat'],'report','time','gitinfo','gitlastcommithash','matlabverion','platform');
|
||||||
end
|
end
|
||||||
|
|
||||||
if nargin>2
|
if nargin>2
|
||||||
|
|
Loading…
Reference in New Issue