Commit 0926fe06 authored by Houtan Bastani's avatar Houtan Bastani

update tests to account for report created in different directory

parent 1e04db5f
Pipeline #1702 passed with stage
in 54 seconds
......@@ -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 ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment