Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dynare
m-unit-tests
Commits
2834bc18
Commit
2834bc18
authored
Dec 01, 2014
by
Stéphane Adjemian
Browse files
Fixed issue with path.
parent
3fc68ee2
Changes
1
Show whitespace changes
Inline
Side-by-side
src/run_unitary_tests_in_directory.m
View file @
2834bc18
...
...
@@ -33,6 +33,10 @@ function report = run_unitary_tests_in_directory(dirname, savereport, printrepor
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
INIT_PATH
=
pwd
();
cd
(
dirname
);
system
(
'git show --pretty=format:"Last commit %H by %an, %ar %n-> %s" HEAD > git.info'
);
system
(
'git rev-parse HEAD > git.last-commit-hash'
);
...
...
@@ -45,6 +49,8 @@ fid = fopen('git.last-commit-hash');
gitlastcommithash
=
fgetl
(
fid
);
fclose
(
fid
);
cd
(
INIT_PATH
);
matlabverion
=
version
;
platform
=
computer
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment