本文整理汇总了Python中util.runtestBase.RuntestBase.usage方法的典型用法代码示例。如果您正苦于以下问题:Python RuntestBase.usage方法的具体用法?Python RuntestBase.usage怎么用?Python RuntestBase.usage使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类util.runtestBase.RuntestBase
的用法示例。
在下文中一共展示了RuntestBase.usage方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: usage
# 需要导入模块: from util.runtestBase import RuntestBase [as 别名]
# 或者: from util.runtestBase.RuntestBase import usage [as 别名]
def usage(self, c):
RuntestBase.usage(self, c)
print " --esc run esc instead of avm"
print " --escbin location of esc/bin directory - defaults to ../../esc/bin"
print " --ext set the testfile extension (defaults to .as)"
print " --threads number of threads to run (default=1), set to 1 to have tests finish sequentially"
exit(c)
示例2: usage
# 需要导入模块: from util.runtestBase import RuntestBase [as 别名]
# 或者: from util.runtestBase.RuntestBase import usage [as 别名]
def usage(self, c):
RuntestBase.usage(self, c)
print ' --ext set the testfile extension (defaults to .as)'
print ' --threads number of threads to run (default=# of cpu/cores), set to 1 to have tests finish sequentially'
print ' --full do a full coverage pass (all switches and options exercised)'
# print ' -i --intermediate create and compare intermediate code/AVM assembly/parse tree'
print ' -r --regex output err.actual files that are regex corrected'
exit(c)
示例3: usage
# 需要导入模块: from util.runtestBase import RuntestBase [as 别名]
# 或者: from util.runtestBase.RuntestBase import usage [as 别名]
def usage(self, c):
RuntestBase.usage(self, c)
print ' --ext set the testfile extension (defaults to .as)'
print ' --threads number of threads to run (default=# of cpu/cores), set to 1 to have tests finish sequentially'
print ' --diff create and compare intermediate code/AVM assembly/parse tree to asc2'
print ' --asc2 required for diff tests - specify asc.jar to compare results to'
print ' -r --regex output err.actual files that are regex corrected'
exit(c)
示例4: usage
# 需要导入模块: from util.runtestBase import RuntestBase [as 别名]
# 或者: from util.runtestBase.RuntestBase import usage [as 别名]
def usage(self, c):
RuntestBase.usage(self, c)
print ' --esc run esc instead of avm'
print ' --escbin location of esc/bin directory - defaults to ../../esc/bin'
print ' --eval use run-time compiler'
print ' --ext set the testfile extension (defaults to .as)'
print ' --ats generate ats swfs instead of running tests'
print ' --atsdir base output directory for ats swfs - defaults to ATS_SWFS'
print ' --threads number of threads to run (default=# of cpu/cores), set to 1 to have tests finish sequentially'
print ' --verify run a verify pass instead of running abcs'
exit(c)
示例5: usage
# 需要导入模块: from util.runtestBase import RuntestBase [as 别名]
# 或者: from util.runtestBase.RuntestBase import usage [as 别名]
def usage(self, c):
RuntestBase.usage(self, c)
print(' --esc run esc instead of avm')
print(' --escbin location of esc/bin directory - defaults to ../../esc/bin')
print(' --eval use run-time compiler')
print(' --ext set the testfile extension (defaults to .as)')
print(' --ats generate ats swfs instead of running tests')
print(' --atsdir base output directory for ats swfs - defaults to ATS_SWFS')
print(' --threads number of threads to run (default=# of cpu/cores), set to 1 to have tests finish sequentially')
print(' --passthreadid set the environment variable threadid when calling the AVM script. The threadid is an integer 0...n-1 where threads=n.')
print(' --androidthreads assign a thread for each android device connected.')
print(' --verify run a verify pass instead of running abcs')
print(' --verifyonly run a -Dverifyonly pass: only checks test exitcode')
print(' --remoteip IP/DNS address of the machine to run the tests on.')
print(' --remoteuser user name to use to connect to the remote machine.')
exit(c)
示例6: usage
# 需要导入模块: from util.runtestBase import RuntestBase [as 别名]
# 或者: from util.runtestBase.RuntestBase import usage [as 别名]
def usage(self, c):
RuntestBase.usage(self, c)
print ' --esc run esc instead of avm'
print ' --escbin location of esc/bin directory - defaults to ../../esc/bin'
print ' --eval use run-time compiler'
print ' --ext set the testfile extension (defaults to .as)'
print ' --ats generate ats swfs instead of running tests'
print ' --atsdir base output directory for ats swfs - defaults to ATS_SWFS'
print ' --threads number of threads to run (default=# of cpu/cores), set to 1 to have tests finish sequentially'
print ' --verify run a verify pass instead of running abcs'
print ' --aotsdk location of the AOT sdk used to compile tests to standalone executables.'
print ' --aotout where the resulting binaries should be put (defaults to the location of the as file).'
print ' --aotargs any extra arguments to pass to compile.py.'
print ' --remoteip IP/DNS address of the machine to run the tests on.'
print ' --remoteuser user name to use to connect to the remote machine.'
exit(c)