webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Functions | Variables
run_tests_util Namespace Reference

Classes

class  TestRunner
 

Functions

def ParseArgs (project_name, argv=None, help_callback=None)
 

Variables

 subprocess = None
 
string HELP_MSG
 
string IS_WINDOWS = 'nt'
 
string IS_MAC = 'Darwin'
 
string IS_CYGWIN = 'posix' and 'CYGWIN' in os.uname()[0]
 
tuple CONFIGS = ('win-dbg8', 'win-opt8')
 
 PYTHON_TEST_REGEX = re.compile(r'_(unit)?test\.py$', re.IGNORECASE)
 
 BINARY_TEST_REGEX = re.compile(r'_(unit)?test(\.exe)?$', re.IGNORECASE)
 
 BINARY_TEST_SEARCH_REGEX = re.compile(r'_(unit)?test\.exe$', re.IGNORECASE)
 

Function Documentation

◆ ParseArgs()

def run_tests_util.ParseArgs (   project_name,
  argv = None,
  help_callback = None 
)
Parses the options run_tests.py uses.

Variable Documentation

◆ BINARY_TEST_REGEX

run_tests_util.BINARY_TEST_REGEX = re.compile(r'_(unit)?test(\.exe)?$', re.IGNORECASE)

◆ BINARY_TEST_SEARCH_REGEX

run_tests_util.BINARY_TEST_SEARCH_REGEX = re.compile(r'_(unit)?test\.exe$', re.IGNORECASE)

◆ CONFIGS

tuple run_tests_util.CONFIGS = ('win-dbg8', 'win-opt8')

◆ HELP_MSG

string run_tests_util.HELP_MSG

◆ IS_CYGWIN

string run_tests_util.IS_CYGWIN = 'posix' and 'CYGWIN' in os.uname()[0]

◆ IS_MAC

string run_tests_util.IS_MAC = 'Darwin'

◆ IS_WINDOWS

string run_tests_util.IS_WINDOWS = 'nt'

◆ PYTHON_TEST_REGEX

run_tests_util.PYTHON_TEST_REGEX = re.compile(r'_(unit)?test\.py$', re.IGNORECASE)

◆ subprocess

run_tests_util.subprocess = None