From 6b0320fc835f53f9c5622ffea31d009e2656f504 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Tue, 10 Mar 2015 02:34:35 +1100 Subject: [PATCH] disable test262 tests by default --- Makefile | 6 ------ test/test262.js | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Makefile b/Makefile index db30ff357b..4f8e226bef 100644 --- a/Makefile +++ b/Makefile @@ -46,11 +46,6 @@ test: $(MOCHA_CMD) make test-clean -test-simple: - # excludes test262 - export SIMPLE_BABEL_TESTS=1; \ - make test - test-all: export ALL_BABEL_TESTS=1; \ make test @@ -58,7 +53,6 @@ test-all: test-cov: rm -rf coverage make build-core-test - export SIMPLE_BABEL_TESTS=1; \ node $(ISTANBUL_CMD) $(MOCHA_CMD) -- test-travis: bootstrap build diff --git a/test/test262.js b/test/test262.js index ae7ab5e25c..032408db88 100644 --- a/test/test262.js +++ b/test/test262.js @@ -1,4 +1,4 @@ -if (process.env.SIMPLE_BABEL_TESTS) return; +if (!process.env.ALL_BABEL_TESTS) return; require("./_helper").assertVendor("test262");