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

Classes

class  FolderTags
 
class  LogFile
 
class  PassFailCount
 
class  Test
 
class  TestResult
 
class  TestVariant
 

Functions

def lower_set (s)
 
def split_tags (text)
 
def log_message (msg="")
 
def print_and_log (msg="")
 
def normalize_new_line (text)
 
def run_one (data)
 
def load_tests (folder, file)
 
def is_jsfile (path)
 
def main ()
 

Variables

 parser
 
 metavar
 
 nargs
 
 help
 
 action
 
 type
 
 int
 
 default
 
 args = parser.parse_args()
 
 test_root = os.path.dirname(os.path.realpath(__file__))
 
 repo_root = os.path.dirname(test_root)
 
string arch = 'x86' if args.x86 else ('x64' if args.x64 else None)
 
string arch_alias = 'x64' else None
 
dictionary type_flavor = {'chk':'Debug', 'test':'Test', 'fre':'Release'}
 
string flavor = 'Debug' if args.debug else ('Test' if args.test else None)
 
string flavor_alias = 'Debug' else 'fre'
 
 binary = args.binary
 
 tags = set(args.tag or [])
 
 not_tags = set(args.not_tag or []).union(['fail', 'exclude_' + arch])
 
 not_compile_flags = set(['-simdjs']) \
 
 log_file = LogFile(args.logfile)
 
 modules
 
 suite
 

Function Documentation

◆ is_jsfile()

def runtests.is_jsfile (   path)

◆ load_tests()

def runtests.load_tests (   folder,
  file 
)

◆ log_message()

def runtests.log_message (   msg = "")

◆ lower_set()

def runtests.lower_set (   s)

◆ main()

def runtests.main ( void  )

◆ normalize_new_line()

def runtests.normalize_new_line (   text)

◆ print_and_log()

def runtests.print_and_log (   msg = "")

◆ run_one()

def runtests.run_one (   data)

◆ split_tags()

def runtests.split_tags (   text)

Variable Documentation

◆ action

runtests.action

◆ arch

string runtests.arch = 'x86' if args.x86 else ('x64' if args.x64 else None)

◆ arch_alias

string runtests.arch_alias = 'x64' else None

◆ args

runtests.args = parser.parse_args()

◆ binary

string runtests.binary = args.binary

◆ default

runtests.default

◆ flavor

string runtests.flavor = 'Debug' if args.debug else ('Test' if args.test else None)

◆ flavor_alias

string runtests.flavor_alias = 'Debug' else 'fre'

◆ help

runtests.help

◆ int

runtests.int

◆ log_file

runtests.log_file = LogFile(args.logfile)

◆ metavar

runtests.metavar

◆ modules

runtests.modules

◆ nargs

runtests.nargs

◆ not_compile_flags

def runtests.not_compile_flags = set(['-simdjs']) \

◆ not_tags

def runtests.not_tags = set(args.not_tag or []).union(['fail', 'exclude_' + arch])

◆ parser

runtests.parser
Initial value:
1 = argparse.ArgumentParser(
2  description='ChakraCore *nix Test Script',
3  formatter_class=argparse.RawDescriptionHelpFormatter,
4  epilog=)

◆ repo_root

runtests.repo_root = os.path.dirname(test_root)

◆ suite

runtests.suite

◆ tags

def runtests.tags = set(args.tag or [])

◆ test_root

runtests.test_root = os.path.dirname(os.path.realpath(__file__))

◆ type

runtests.type

◆ type_flavor

dictionary runtests.type_flavor = {'chk':'Debug', 'test':'Test', 'fre':'Release'}