Move test dependencies out of Makefile
This commit is contained in:
parent
052fafd9de
commit
68edabde0c
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ stages:
|
||||||
|
|
||||||
test-oni-bookmark:
|
test-oni-bookmark:
|
||||||
stage: test
|
stage: test
|
||||||
script: make test-oni-bookmark
|
script: make test-oni-bookmark DEPS="oni-data-dir"
|
||||||
|
|
||||||
test-oni-alert:
|
test-oni-alert:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
|
@ -18,7 +18,7 @@ test-%:
|
||||||
--load ert \
|
--load ert \
|
||||||
--load "test/$*-test.el" \
|
--load "test/$*-test.el" \
|
||||||
--funcall package-initialize \
|
--funcall package-initialize \
|
||||||
--eval "(package-install-file \"oni-data-dir.el\")" \
|
$(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
|
||||||
--eval "(package-install-file \"$*.el\")" \
|
--eval "(package-install-file \"$*.el\")" \
|
||||||
--funcall ert-run-tests-batch-and-exit
|
--funcall ert-run-tests-batch-and-exit
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue