1#!/usr/bin/env python 2 3# Copyright JS Foundation and other contributors, http://js.foundation 4# 5# Licensed under the Apache License, Version 2.0 (the "License"); 6# you may not use this file except in compliance with the License. 7# You may obtain a copy of the License at 8# 9# http://www.apache.org/licenses/LICENSE-2.0 10# 11# Unless required by applicable law or agreed to in writing, software 12# distributed under the License is distributed on an "AS IS" BASIS 13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14# See the License for the specific language governing permissions and 15# limitations under the License. 16 17from os import path 18 19TOOLS_DIR = path.dirname(path.abspath(__file__)) 20PROJECT_DIR = path.normpath(path.join(TOOLS_DIR, '..')) 21DEBUGGER_TESTS_DIR = path.join(PROJECT_DIR, 'tests/debugger') 22JERRY_TESTS_DIR = path.join(PROJECT_DIR, 'tests/jerry') 23JERRY_TEST_SUITE_DIR = path.join(PROJECT_DIR, 'tests/jerry-test-suite') 24JERRY_TEST_SUITE_MINIMAL_LIST = path.join(PROJECT_DIR, 'tests/jerry-test-suite/minimal-profile-list') 25TEST262_TEST_SUITE_DIR = path.join(PROJECT_DIR, 'tests/test262') 26 27BUILD_SCRIPT = path.join(TOOLS_DIR, 'build.py') 28CPPCHECK_SCRIPT = path.join(TOOLS_DIR, 'check-cppcheck.sh') 29DEBUGGER_CLIENT_SCRIPT = path.join(PROJECT_DIR, 'jerry-debugger/jerry_client.py') 30DEBUGGER_TEST_RUNNER_SCRIPT = path.join(TOOLS_DIR, 'runners/run-debugger-test.sh') 31DOXYGEN_SCRIPT = path.join(TOOLS_DIR, 'check-doxygen.sh') 32LICENSE_SCRIPT = path.join(TOOLS_DIR, 'check-license.py') 33MAGIC_STRINGS_SCRIPT = path.join(TOOLS_DIR, 'check-magic-strings.sh') 34PYLINT_SCRIPT = path.join(TOOLS_DIR, 'check-pylint.sh') 35SIGNED_OFF_SCRIPT = path.join(TOOLS_DIR, 'check-signed-off.sh') 36TEST_RUNNER_SCRIPT = path.join(TOOLS_DIR, 'runners/run-test-suite.py') 37TEST262_RUNNER_SCRIPT = path.join(TOOLS_DIR, 'runners/run-test-suite-test262.py') 38VERA_SCRIPT = path.join(TOOLS_DIR, 'check-vera.sh') 39UNITTEST_RUNNER_SCRIPT = path.join(TOOLS_DIR, 'runners/run-unittests.py') 40