Skip to content
Snippets Groups Projects
Verified Commit 0926fe06 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

update tests to account for report created in different directory

parent 1e04db5f
Branches
No related tags found
No related merge requests found
Pipeline #1702 passed
......@@ -7,7 +7,7 @@ testsuite_matlab:
- make check-matlab
artifacts:
paths:
- test/report.pdf
- test/my/report/dir/report.pdf
testsuite_octave:
stage: test
......@@ -15,4 +15,4 @@ testsuite_octave:
- make check-octave
artifacts:
paths:
- test/report.pdf
- test/my/report/dir/report.pdf
......@@ -5,7 +5,7 @@ all: check-octave check-matlab
check-octave:
@cd test ;\
$(OCTAVE) --no-init-file --silent --no-history --eval "addpath([pwd() '/../dseries/src']); addpath([pwd() '/../src']); runtest;" && [ -f report.pdf ]
$(OCTAVE) --no-init-file --silent --no-history --eval "addpath([pwd() '/../dseries/src']); addpath([pwd() '/../src']); runtest;" && [ -f my/report/dir/report.pdf ]
check-matlab:
@$(MATLAB) -nosplash -nodisplay -r "addpath dseries/src; addpath src; cd test; runtest; quit" && [ -f test/report.pdf ]
@$(MATLAB) -nosplash -nodisplay -r "addpath dseries/src; addpath src; cd test; runtest; quit" && [ -f test/my/report/dir/report.pdf ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment