Database tüddelei DBHanlder läuft gut für DIESE Datanbank struktur... App begonnen aber weit entfernt von gutem Stand
14 lines
410 B
Matlab
14 lines
410 B
Matlab
function bool = hasTestFailed(status)
|
|
% returns true when the test has failed
|
|
|
|
if iscell(status) % allow for vectorization of the call
|
|
bool = cellfun(@hasTestFailed, status, 'UniformOutput', true);
|
|
else
|
|
stages = getStagesFromStatus(status);
|
|
bool = false;
|
|
for jStage = 1:numel(stages)
|
|
bool = bool || status.(stages{jStage}).error;
|
|
end
|
|
end
|
|
end
|