1
0
Fork 0

Move test dependencies out of Makefile

This commit is contained in:
Tom Willemse 2019-03-28 20:19:07 -07:00
parent 052fafd9de
commit 68edabde0c
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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