Skip to content

Commit

Permalink
Fixup MakefileTest
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Oct 22, 2020
1 parent c23dbd3 commit 3661bf2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ MAKEFLAGS += --no-builtin-rules

.PHONY: help
help:
@echo "\033[33mUsage:\033[0m\n make TARGET\n\n\033[32m#\n# Commands\n#---------------------------------------------------------------------------\033[0m\n"
@printf "\033[33mUsage:\033[0m\n make TARGET\n\n\033[32m#\n# Commands\n#---------------------------------------------------------------------------\033[0m\n\n"
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' | awk 'BEGIN {FS = ":"}; {printf "\033[33m%s:\033[0m%s\n", $$1, $$2}'


Expand Down Expand Up @@ -118,7 +118,8 @@ test-e2e: ## Runs the end-to-end tests
test-e2e: test-e2e-phpunit $(BENCHMARK_SOURCES)
./tests/e2e_tests $(INFECTION)

.PHONY: test-e2e-phpunit ## Runs PHPUnit-enabled subset of end-to-end tests
.PHONY: test-e2e-phpunit
test-e2e-phpunit: ## Runs PHPUnit-enabled subset of end-to-end tests
test-e2e-phpunit: $(PHPUNIT)
$(PHPUNIT) --group integration,e2e

Expand All @@ -143,7 +144,7 @@ test-e2e-xdebug-74-docker: $(DOCKER_RUN_74_IMAGE) $(INFECTION)
$(DOCKER_RUN_74) ./tests/e2e_tests $(INFECTION)

.PHONY: test-infection
test-infection: ## Runs Infection against itself
test-infection: ## Runs Infection against itself
test-infection:
$(INFECTION) --threads=4

Expand Down
5 changes: 3 additions & 2 deletions tests/phpunit/AutoReview/Makefile/MakefileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ public function test_the_default_goal_is_the_help_command(): void
test-docker: Runs all the tests on the different Docker platforms
test-unit: Runs the unit tests
test-unit-docker: Runs the unit tests on the different Docker platforms
test-e2e: Runs the end-to-end tests on the different Docker platforms
test-e2e: Runs the end-to-end tests
test-e2e-phpunit: Runs PHPUnit-enabled subset of end-to-end tests
test-e2e-docker: Runs the end-to-end tests on the different Docker platforms
[33mtest-infection:[0m Runs Infection against itself
[33mtest-infection:[0m Runs Infection against itself
test-infection-docker: Runs Infection against itself on the different Docker platforms
EOF;
Expand Down

0 comments on commit 3661bf2

Please sign in to comment.