本文整理匯總了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)