mirror of
https://github.com/robertkrimen/otto
synced 2025-10-12 20:27:30 +08:00
41 lines
585 B
Makefile
41 lines
585 B
Makefile
.PHONY: build test data otto v8 cull uncull gauntlet try
|
|
|
|
otto := ./otto -underscore=false
|
|
TEST := python ./data/tools/packaging/test262.py --test=data --non_strict_only
|
|
WITH_v8 := --command v8
|
|
WITH_otto := --command "$(otto)"
|
|
|
|
test:
|
|
$(TEST) $(WITH_otto)
|
|
|
|
otto: test
|
|
|
|
build:
|
|
$(MAKE) -C .. otto
|
|
|
|
data:
|
|
hg clone -r 334 http://hg.ecmascript.org/tests/test262 data
|
|
|
|
v8:
|
|
$(TEST) $(WITH_v8)
|
|
|
|
test.v8:
|
|
$(TEST) $(WITH_v8) > $@
|
|
|
|
cull: test.v8
|
|
./cull
|
|
|
|
uncull:
|
|
./uncull
|
|
|
|
gauntlet:
|
|
$(TEST) $(WITH_otto) 2>/dev/null | ./gauntlet
|
|
|
|
try: .failing
|
|
head $<
|
|
$(otto) $<
|
|
|
|
look: .failing
|
|
cat $<
|
|
|