-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust infrastructure for move of acceptance tests
- Loading branch information
1 parent
d57f7a8
commit e35c37d
Showing
6 changed files
with
41 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
SHELL := bash | ||
|
||
.PHONY: help | ||
help: | ||
@echo "Please use 'make <target>' where <target> is one of the following:" | ||
@echo | ||
@echo -e "Testing:\n" | ||
@echo -e "make test-acceptance-api\trun API acceptance tests" | ||
@echo -e "make clean-tests\t\tdelete API tests framework dependencies" | ||
@echo | ||
@echo -e "See the Makefile in the ocis folder for other build and test targets" | ||
|
||
.PHONY: clean-tests | ||
clean-tests: | ||
rm -Rf vendor-bin/**/vendor vendor-bin/**/composer.lock | ||
|
||
BEHAT_BIN=vendor-bin/behat/vendor/bin/behat | ||
|
||
.PHONY: test-acceptance-api | ||
test-acceptance-api: vendor-bin/behat/vendor | ||
BEHAT_BIN=$(BEHAT_BIN) $(PATH_TO_CORE)/tests/acceptance/run.sh --remote --type api | ||
|
||
vendor/bamarni/composer-bin-plugin: composer.lock | ||
composer install | ||
|
||
vendor-bin/behat/vendor: vendor/bamarni/composer-bin-plugin vendor-bin/behat/composer.lock | ||
composer bin behat install --no-progress | ||
|
||
vendor-bin/behat/composer.lock: vendor-bin/behat/composer.json | ||
@echo behat composer.lock is not up to date. | ||
|
||
composer.lock: composer.json | ||
@echo composer.lock is not up to date. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.