From 80224c91ca541495e33803374d3a4599db88508a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Tue, 25 Apr 2023 10:57:27 +0200 Subject: [PATCH] Testsuite: use older version of m-unit-tests for compatibility --- .gitlab-ci.yml | 3 --- Makefile | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e8b289b..5d06d42 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/Makefile b/Makefile index 99147cc..c1dbf1f 100644 --- a/Makefile +++ b/Makefile @@ -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 -- GitLab