mirror of
https://github.com/bellard/quickjs.git
synced 2024-11-22 05:38:11 +08:00
handle missing test262 gracefully
This commit is contained in:
parent
74bdb4967c
commit
0a361b7c0f
10
Makefile
10
Makefile
@ -482,6 +482,10 @@ microbench: qjs
|
||||
microbench-32: qjs32
|
||||
./qjs32 --std tests/microbench.js
|
||||
|
||||
ifeq ($(wildcard test262o/tests.txt),)
|
||||
test2o test2o-32 test2o-update:
|
||||
@echo test262o tests not installed
|
||||
else
|
||||
# ES5 tests (obsolete)
|
||||
test2o: run-test262
|
||||
time ./run-test262 -m -c test262o.conf
|
||||
@ -491,7 +495,12 @@ test2o-32: run-test262-32
|
||||
|
||||
test2o-update: run-test262
|
||||
./run-test262 -u -c test262o.conf
|
||||
endif
|
||||
|
||||
ifeq ($(wildcard test262o/tests.txt),)
|
||||
test2 test2-32 test2-update test2-default test2-check:
|
||||
@echo test262 tests not installed
|
||||
else
|
||||
# Test262 tests
|
||||
test2-default: run-test262
|
||||
time ./run-test262 -m -c test262.conf
|
||||
@ -507,6 +516,7 @@ test2-update: run-test262
|
||||
|
||||
test2-check: run-test262
|
||||
time ./run-test262 -m -c test262.conf -E -a
|
||||
endif
|
||||
|
||||
testall: all test microbench test2o test2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user