wpt: accept test name argument

This commit is contained in:
Pierre Tachoire
2023-10-11 10:43:28 +02:00
parent 22b9b1841c
commit bf0af2c036
2 changed files with 23 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ shell:
## Run WPT tests
wpt:
@printf "\e[36mBuilding wpt...\e[0m\n"
@$(ZIG) build wpt -Dengine=v8 || (printf "\e[33mBuild ERROR\e[0m\n"; exit 1;)
@$(ZIG) build wpt -Dengine=v8 -- $(filter-out $@,$(MAKECMDGOALS)) || (printf "\e[33mBuild ERROR\e[0m\n"; exit 1;)
## Test
test: