Add web-platform-tests submodule and test runner

This commit is contained in:
Manish Goregaokar 2014-04-10 18:30:06 +05:30
parent d7f450dbd7
commit 8cdaa9a0c4
8 changed files with 72 additions and 0 deletions

View file

@ -91,6 +91,10 @@ check-content: contenttest
@$(call E, check: contenttests)
$(Q)./contenttest --source-dir=$(S)src/test/content $(TESTNAME)
.PHONY: check-wpt
check-wpt:
bash $(S)src/test/wpt/run.sh $(S)
.PHONY: tidy
tidy:
@$(call E, check: tidy)

View file

@ -49,6 +49,10 @@ clean-style:
@$(call E, "cleaning style")
$(Q)cd $(B)/src/components/style/ && rm -rf libstyle*.dylib libstyle*.rlib libstyle*.dSYM libstyle*.so $(DONE_style)
clean-wpt:
$(Q)rm -r _virtualenv
$(Q)rm $(S)/src/test/wpt/metadata/MANIFEST.json
clean-servo: clean-gfx clean-util clean-net clean-script clean-msg clean-style
@$(call E, "cleaning servo")
$(Q)rm -f servo servo-test $(foreach lib_crate,$(SERVO_LIB_CRATES),servo-test-$(lib_crate)) libservo*.so libservo*.a