当前位置: 首页>>代码示例>>Python>>正文


Python RuntestBase.usage方法代码示例

本文整理汇总了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)
开发者ID:FlowShift,项目名称:thane,代码行数:9,代码来源:runtests.py

示例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)
开发者ID:haibocheng,项目名称:flex,代码行数:11,代码来源:runtests.py

示例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)
开发者ID:mapleelpam,项目名称:adobe-asc-thrift,代码行数:11,代码来源:runtests.py

示例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)
开发者ID:Jeffxz,项目名称:nodeas,代码行数:13,代码来源:runtests.py

示例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)
开发者ID:bsdf,项目名称:trx,代码行数:18,代码来源:runtests.py

示例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)
开发者ID:zwetan,项目名称:tessa,代码行数:18,代码来源:runtests.py


注:本文中的util.runtestBase.RuntestBase.usage方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。