1
0
mirror of https://github.com/robertkrimen/otto synced 2025-09-28 18:45:22 +08:00

Adjust test262 Makefile

This commit is contained in:
Robert Krimen 2012-10-19 13:29:12 -07:00
parent f842eda638
commit d6bb7b6285

View File

@ -1,4 +1,4 @@
.PHONY: build test data otto v8 cull uncull gauntlet try .PHONY: build test data otto v8 cull uncull gauntlet try test-v8 test-otto
otto := ./otto -underscore=false otto := ./otto -underscore=false
TEST := python ./data/tools/packaging/test262.py --test=data --non_strict_only TEST := python ./data/tools/packaging/test262.py --test=data --non_strict_only
@ -8,7 +8,9 @@ WITH_otto := --command "$(otto)"
test: test:
$(TEST) $(WITH_otto) $(TEST) $(WITH_otto)
otto: test test-otto: test
otto: build
build: build:
$(MAKE) -C .. otto $(MAKE) -C .. otto
@ -16,7 +18,7 @@ build:
data: data:
hg clone -r 334 http://hg.ecmascript.org/tests/test262 data hg clone -r 334 http://hg.ecmascript.org/tests/test262 data
v8: v8 test-v8:
$(TEST) $(WITH_v8) $(TEST) $(WITH_v8)
test.v8: test.v8: