Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use fixed number of threads and sequential mode for reftests #2766

Closed
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Use fixed number of threads for reftests and force single/sequential …

…testing as well (fixes #1975)
  • Loading branch information
jviereck committed Jul 4, 2014
commit e76022d5213f6889d798dabeac1aba7273f3c3e9
@@ -81,16 +81,26 @@ check-servo: $(foreach lib_crate,$(SERVO_LIB_CRATES),check-servo-$(lib_crate)) s

.PHONY: check-ref-cpu
check-ref-cpu: reftest
@$(call E, check: reftests with CPU rendering)
$(Q)./reftest $(S)src/test/ref/basic.list $(TESTNAME) -- -c
@$(call E, check: reftests with CPU rendering (using multiple threads))
$(Q)./reftest $(S)src/test/ref/basic.list $(TESTNAME) -- -c -t 4 -y 4

.PHONY: check-ref-cpu-sequential
check-ref-cpu-sequential: reftest
@$(call E, check: reftests with CPU rendering (using single thread))
$(Q)./reftest $(S)src/test/ref/basic.list $(TESTNAME) -- -c -t 1 -y 1

.PHONY: check-ref-gpu
check-ref-gpu: reftest
@$(call E, check: reftests with GPU rendering)
$(Q)./reftest $(S)src/test/ref/basic.list $(TESTNAME)
@$(call E, check: reftests with GPU rendering (using multiple threads))
$(Q)./reftest $(S)src/test/ref/basic.list $(TESTNAME) -t 4 -y 4

.PHONY: check-ref-gpu-sequential
check-ref-gpu-sequential: reftest
@$(call E, check: reftests with GPU rendering (using single thread))
$(Q)./reftest $(S)src/test/ref/basic.list $(TESTNAME) -t 1 -y 1

.PHONY: check-ref
check-ref: check-ref-cpu check-ref-gpu
check-ref: check-ref-cpu check-ref-gpu check-ref-cpu-sequential check-ref-gpu-sequential

.PHONY: check-content
check-content: contenttest
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.