From eef6e57a4c26d88e5bd4757d3c7c4569aa14c95c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zsolt=20Borb=C3=A9ly?= Date: Mon, 9 Jan 2017 09:44:40 +0100 Subject: [PATCH] Skip out license-check in case of test262 tests (#1504) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Can break testruns, when the test262 folder already present. JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com --- tools/check-license.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/check-license.py b/tools/check-license.py index 8ba2f28d3..c4127843a 100755 --- a/tools/check-license.py +++ b/tools/check-license.py @@ -17,6 +17,7 @@ import os import re import sys +from settings import * license = re.compile( @@ -46,7 +47,8 @@ dirs = [ ] exclude_dirs = [ - 'targets/esp8266' + 'targets/esp8266', + os.path.relpath (TEST262_TEST_SUITE_DIR, PROJECT_DIR), ] exts = [