-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #314 from schorschinho/develop
Bring CI changes into master [skip ci]
- Loading branch information
Showing
7 changed files
with
19 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,4 @@ | ||
% assume it always fails | ||
exit_code = 1; | ||
|
||
% MATLAB runs the test | ||
[result,rt] = UnitTest('MEGA',1,1); | ||
|
||
% check the result | ||
if sum(rt{1}.Failed) == 0 && sum(rt{1}.Incomplete) == 0 &&sum(rt{2}.Failed) == 0 && sum(rt{2}.Incomplete) == 0 | ||
exit_code = 0; | ||
end | ||
|
||
|
||
% Ensure that we ALWAYS call exit that is always a success so that CI doesn't stop | ||
exit | ||
assert(sum(rt{1}.Failed) == 0 && sum(rt{1}.Incomplete) == 0 &&sum(rt{2}.Failed) == 0 && sum(rt{2}.Incomplete) == 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,4 @@ | ||
% assume it always fails | ||
exit_code = 1; | ||
|
||
% MATLAB runs the test | ||
[result,rt] = UnitTest('PRESS',1,1); | ||
|
||
% check the result | ||
if sum(rt{1}.Failed) == 0 && sum(rt{1}.Incomplete) == 0 &&sum(rt{2}.Failed) == 0 && sum(rt{2}.Incomplete) == 0 | ||
exit_code = 0; | ||
end | ||
|
||
% Ensure that we ALWAYS call exit that is always a success so that CI doesn't stop | ||
exit | ||
assert(sum(rt{1}.Failed) == 0 && sum(rt{1}.Incomplete) == 0 &&sum(rt{2}.Failed) == 0 && sum(rt{2}.Incomplete) == 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,4 @@ | ||
% assume it always fails | ||
exit_code = 1; | ||
|
||
% MATLAB runs the test | ||
[result,rt] = UnitTest('SinglePRESS',0,0); | ||
[result,rt] = UnitTest('SinglePRESS',0,0); | ||
|
||
% check the result | ||
if sum(rt{1}.Failed) == 0 && sum(rt{1}.Incomplete) == 0 | ||
exit_code = 0; | ||
end | ||
|
||
|
||
% Ensure that we ALWAYS call exit that is always a success so that CI doesn't stop | ||
exit | ||
assert(sum(rt{1}.Failed) == 0 && sum(rt{1}.Incomplete) == 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
% assume it always fails | ||
exit_code = 1; | ||
|
||
% MATLAB runs the test | ||
[result,rt] = UnitTest('SinglePRESS',2,1); | ||
% MATLAB runs the test | ||
[result,rt] = UnitTest('SinglePRESS',2,1); | ||
|
||
% check the result | ||
if sum(rt{1}.Failed) == 0 && sum(rt{1}.Incomplete) == 0 &&sum(rt{2}.Failed) == 0 && sum(rt{2}.Incomplete) == 0 | ||
exit_code = 0; | ||
end | ||
|
||
% Ensure that we ALWAYS call exit that is always a success so that CI doesn't stop | ||
exit | ||
assert(sum(rt{1}.Failed) == 0 && sum(rt{1}.Incomplete) == 0 &&sum(rt{2}.Failed) == 0 && sum(rt{2}.Incomplete) == 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters