Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dynare
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MichelJuillard
dynare
Commits
47544641
Commit
47544641
authored
Nov 18, 2011
by
Sébastien Villemot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testsuite: fix issue with block/bytecode
parent
ef1cf5f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
tests/run_test_matlab.m
tests/run_test_matlab.m
+0
-6
tests/run_test_octave.m
tests/run_test_octave.m
+0
-6
No files found.
tests/run_test_matlab.m
View file @
47544641
...
...
@@ -98,13 +98,11 @@ for blockFlag = 0:1
old_path
=
path
;
save
wsMat
run_ls2003
(
blockFlag
,
bytecodeFlag
,
solve_algos
(
i
),
default_stack_solve_algo
)
clear
-
all
load
wsMat
path
(
old_path
);
y_ref
=
oo_
.
endo_simul
;
save
(
'test.mat'
,
'y_ref'
);
catch
exception
clear
-
all
load
wsMat
path
(
old_path
);
failedBlock
{
size
(
failedBlock
,
2
)
+
1
}
=
[
'block_bytecode/run_ls2003.m('
num2str
(
blockFlag
)
', '
num2str
(
bytecodeFlag
)
', '
num2str
(
solve_algos
(
i
))
', '
num2str
(
default_stack_solve_algo
)
')'
];
...
...
@@ -116,7 +114,6 @@ for blockFlag = 0:1
old_path
=
path
;
save
wsMat
run_ls2003
(
blockFlag
,
bytecodeFlag
,
solve_algos
(
i
),
default_stack_solve_algo
)
clear
-
all
load
wsMat
path
(
old_path
);
% Test against the reference simulation path
...
...
@@ -129,7 +126,6 @@ for blockFlag = 0:1
clear
exception
end
catch
exception
clear
-
all
load
wsMat
path
(
old_path
);
failedBlock
{
size
(
failedBlock
,
2
)
+
1
}
=
[
'block_bytecode/run_ls2003.m('
num2str
(
blockFlag
)
', '
num2str
(
bytecodeFlag
)
', '
num2str
(
solve_algos
(
i
))
', '
num2str
(
default_stack_solve_algo
)
')'
];
...
...
@@ -144,7 +140,6 @@ for blockFlag = 0:1
old_path
=
path
;
save
wsMat
run_ls2003
(
blockFlag
,
bytecodeFlag
,
default_solve_algo
,
stack_solve_algos
(
i
))
clear
-
all
load
wsMat
path
(
old_path
);
% Test against the reference simulation path
...
...
@@ -157,7 +152,6 @@ for blockFlag = 0:1
clear
exception
end
catch
exception
clear
-
all
load
wsMat
path
(
old_path
);
failedBlock
{
size
(
failedBlock
,
2
)
+
1
}
=
[
'block_bytecode/run_ls2003.m('
num2str
(
blockFlag
)
', '
num2str
(
bytecodeFlag
)
', '
num2str
(
solve_algos
(
i
))
', '
num2str
(
default_stack_solve_algo
)
')'
];
...
...
tests/run_test_octave.m
View file @
47544641
...
...
@@ -93,13 +93,11 @@ for blockFlag = 0:1
old_path
=
path
;
save
wsOct
run_ls2003
(
blockFlag
,
bytecodeFlag
,
solve_algos
(
i
),
default_stack_solve_algo
)
clear
-
all
load
wsOct
path
(
old_path
);
y_ref
=
oo_
.
endo_simul
;
save
(
'test.mat'
,
'y_ref'
);
catch
clear
-
all
load
wsOct
path
(
old_path
);
failedBlock
{
size
(
failedBlock
,
2
)
+
1
}
=
[
'block_bytecode/run_ls2003.m('
num2str
(
blockFlag
)
', '
num2str
(
bytecodeFlag
)
', '
num2str
(
solve_algos
(
i
))
', '
num2str
(
default_stack_solve_algo
)
')'
];
...
...
@@ -110,7 +108,6 @@ for blockFlag = 0:1
old_path
=
path
;
save
wsOct
run_ls2003
(
blockFlag
,
bytecodeFlag
,
solve_algos
(
i
),
default_stack_solve_algo
)
clear
-
all
load
wsOct
path
(
old_path
);
##
Test
against
the
reference
simulation
path
...
...
@@ -122,7 +119,6 @@ for blockFlag = 0:1
printMakeCheckOctaveErrMsg
([
'block_bytecode/run_ls2003.m('
num2str
(
blockFlag
)
', '
num2str
(
bytecodeFlag
)
', '
num2str
(
solve_algos
(
i
))
', '
num2str
(
default_stack_solve_algo
)
')'
],
differr
);
endif
catch
clear
-
all
load
wsOct
path
(
old_path
);
failedBlock
{
size
(
failedBlock
,
2
)
+
1
}
=
[
'block_bytecode/run_ls2003.m('
num2str
(
blockFlag
)
', '
num2str
(
bytecodeFlag
)
', '
num2str
(
solve_algos
(
i
))
', '
num2str
(
default_stack_solve_algo
)
')'
];
...
...
@@ -136,7 +132,6 @@ for blockFlag = 0:1
old_path
=
path
;
save
wsOct
run_ls2003
(
blockFlag
,
bytecodeFlag
,
default_solve_algo
,
stack_solve_algos
(
i
))
clear
-
all
load
wsOct
path
(
old_path
);
##
Test
against
the
reference
simulation
path
...
...
@@ -148,7 +143,6 @@ for blockFlag = 0:1
printMakeCheckOctaveErrMsg
([
'block_bytecode/run_ls2003.m('
num2str
(
blockFlag
)
', '
num2str
(
bytecodeFlag
)
', '
num2str
(
default_solve_algo
)
', '
num2str
(
stack_solve_algos
(
i
))
')'
],
differr
);
endif
catch
clear
-
all
load
wsOct
path
(
old_path
);
failedBlock
{
size
(
failedBlock
,
2
)
+
1
}
=
[
'block_bytecode/run_ls2003.m('
num2str
(
blockFlag
)
', '
num2str
(
bytecodeFlag
)
', '
num2str
(
solve_algos
(
i
))
', '
num2str
(
default_stack_solve_algo
)
')'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment