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: ...@@ -7,7 +7,7 @@ testsuite_matlab:
- make check-matlab - make check-matlab
artifacts: artifacts:
paths: paths:
- test/report.pdf - test/my/report/dir/report.pdf
testsuite_octave: testsuite_octave:
stage: test stage: test
...@@ -15,4 +15,4 @@ testsuite_octave: ...@@ -15,4 +15,4 @@ testsuite_octave:
- make check-octave - make check-octave
artifacts: artifacts:
paths: paths:
- test/report.pdf - test/my/report/dir/report.pdf
...@@ -5,7 +5,7 @@ all: check-octave check-matlab ...@@ -5,7 +5,7 @@ all: check-octave check-matlab
check-octave: check-octave:
@cd test ;\ @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: 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