Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCDDS-core
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SPC
SCDDS
SCDDS-core
Commits
43368a14
Commit
43368a14
authored
5 years ago
by
Cristian Galperti
Browse files
Options
Downloads
Patches
Plain Diff
Tests passed on cristian@crpppc171
parent
5f4c42ca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
code/functions/SCDconf_setCODEconf.m
+1
-1
1 addition, 1 deletion
code/functions/SCDconf_setCODEconf.m
tests/test_expcodes.m
+3
-1
3 additions, 1 deletion
tests/test_expcodes.m
with
4 additions
and
2 deletions
code/functions/SCDconf_setCODEconf.m
+
1
−
1
View file @
43368a14
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
function
[]
=
SCDconf_setCODEconf
(
varargin
)
function
[]
=
SCDconf_setCODEconf
(
varargin
)
if
nargin
==
0
if
nargin
==
0
codeconfname
=
'configurationSettingsCODE'
;
codeconfname
=
'configurationSettingsCODE
icc
'
;
else
else
codeconfname
=
varargin
{
1
};
codeconfname
=
varargin
{
1
};
end
end
...
...
This diff is collapsed.
Click to expand it.
tests/test_expcodes.m
+
3
−
1
View file @
43368a14
...
@@ -6,7 +6,8 @@ classdef test_expcodes < matlab.unittest.TestCase
...
@@ -6,7 +6,8 @@ classdef test_expcodes < matlab.unittest.TestCase
end
end
properties
(
MethodSetupParameter
)
properties
(
MethodSetupParameter
)
expcode_number
=
{
'1'
,
'1005'
,
'1006'
,
'1010'
};
% list of expcodes to test
%expcode_number = {'1','1005','1006','1010'}; % list of expcodes to test
expcode_number
=
{
'1'
,
'1005'
,
'1010'
};
% list of expcodes to test
end
end
methods
(
TestClassSetup
)
methods
(
TestClassSetup
)
...
@@ -65,6 +66,7 @@ classdef test_expcodes < matlab.unittest.TestCase
...
@@ -65,6 +66,7 @@ classdef test_expcodes < matlab.unittest.TestCase
end
end
function
test_compilation
(
testCase
)
function
test_compilation
(
testCase
)
expcode_ignore_compile
=
[];
testCase
.
assumeTrue
(
~
any
(
testCase
.
expcode_obj
.
maincode
==
expcode_ignore_compile
))
testCase
.
assumeTrue
(
~
any
(
testCase
.
expcode_obj
.
maincode
==
expcode_ignore_compile
))
node_to_compile
=
'SCD_rtccode_02_02'
;
node_to_compile
=
'SCD_rtccode_02_02'
;
node_to_compile
=
'SCD_rtccode_02_03'
;
node_to_compile
=
'SCD_rtccode_02_03'
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment