當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。