Skip to content
Snippets Groups Projects
Verified Commit 80224c91 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Testsuite: use older version of m-unit-tests for compatibility

parent 8fe81617
No related branches found
No related tags found
No related merge requests found
Pipeline #8398 failed
......@@ -2,9 +2,6 @@ variables:
GIT_SUBMODULE_STRATEGY: normal
TERM: linux
before_script:
- git clone https://git.dynare.org/Dynare/m-unit-tests
test_matlab:
stage: test
script:
......
......@@ -3,7 +3,7 @@ MATLAB ?= $(shell which matlab)
all: check-matlab
m-unit-tests/src/mtest.m:
git clone https://git.dynare.org/Dynare/m-unit-tests
git clone https://git.dynare.org/Dynare/m-unit-tests && cd m-unit-tests && git checkout 343d9e13654a07c348fad863f7f79a03896c6bc9
check-matlab: m-unit-tests/src/mtest.m
@$(MATLAB) -nosplash -nodisplay -r "addpath([pwd '/m-unit-tests/src']); cd tests; runalltests; quit" && [ ! -f ./tests/failed ] && [ -f ./tests/pass ]
......@@ -11,4 +11,4 @@ check-matlab: m-unit-tests/src/mtest.m
check-clean:
rm -f tests/*_test_*.m tests/*.csv tests/*.xls tests/*.xlsx tests/*.mat tests/failed tests/datafile_for_test
rm -f git.info git.last-commit-hash tests/pass tests/failed tests/*.spc
rm -rf m-unit-tests
\ No newline at end of file
rm -rf m-unit-tests
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment