Skip to content

Commit

Permalink
Update CheckTestResults.m
Browse files Browse the repository at this point in the history
  • Loading branch information
vboutrou authored Oct 2, 2024
1 parent e32c0bc commit f33d508
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SoftwareTests/CheckTestResults.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

function Version = GetResults(Project)
RootFolder = currentProject().RootFolder;
Version = dir(fullfile(RootFolder,"SoftwareTests","TestResults*.txt"));
Version = dir(fullfile(RootFolder,"public","TestResults*.txt"));
Version = extractBetween([Version.name],"TestResults_",".txt");
end

Expand All @@ -37,11 +37,11 @@ function SetUpSmokeTest(testCase,Project)
methods(Test)

function CheckResults(testCase,Version)
File = fullfile("SoftwareTests","TestResults_"+Version+".txt");
File = fullfile("public","TestResults_"+Version+".txt");
Results = readtable(File,TextType="string");
testCase.verifyTrue(all(Results.Passed));
end

end

end
end

0 comments on commit f33d508

Please sign in to comment.