Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 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)
Example #4
0
 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)
Example #5
0
    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)
Example #6
0
    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)
Example #7
0
 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)
Example #8
0
 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)
Example #9
0
 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)
Example #10
0
 def usage(self, c):
     RuntestBase.usage(self, c)
     print " -S --avm2          second avmplus command to use"
     print "    --avmname       nickname for avm to use as column header"
     print "    --avm2name      nickname for avm2 to use as column header"
     print " -i --iterations    number of times to repeat test"
     print " -l --log           logs results to a file"
     print " -k --socketlog     logs results to a socket server"
     print " -r --runtime       name of the runtime VM used, including switch info eg. TTVMi (tamarin-tracing interp)"
     print " -m --memory        logs the high water memory mark"
     print "    --vmversion     specify vmversion e.g. 502, use this if cannot be calculated from executable"
     print "    --vmargs2       args to pass to avm2, if not specified --vmargs will be used"
     print "    --nooptimize    do not optimize files when compiling"
     print "    --perfm         parse the perfm results from avm"
     exit(c)
Example #11
0
 def usage(self, c):
     RuntestBase.usage(self, c)
     print " -S --avm2          second avmplus command to use"
     print "    --avmname       nickname for avm to use as column header"
     print "    --avm2name      nickname for avm2 to use as column header"
     print " -i --iterations    number of times to repeat test"
     print " -l --log           logs results to a file"
     print " -k --socketlog     logs results to a socket server"
     print " -r --runtime       name of the runtime VM used, including switch info eg. TTVMi (tamarin-tracing interp)"
     print " -m --memory        logs the high water memory mark"
     print "    --vmversion     specify vmversion e.g. 502, use this if cannot be calculated from executable"
     print "    --vmargs2       args to pass to avm2, if not specified --vmargs will be used"
     print "    --nooptimize    do not optimize files when compiling"
     print "    --perfm         parse the perfm results from avm"
     exit(c)
Example #12
0
File: runtests.py Project: bsdf/trx
 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)
Example #13
0
 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)
Example #14
0
 def usage(self, c):
     RuntestBase.usage(self, c)
     print " -S --avm2          second avmplus command to use"
     print "    --avmname       nickname for avm to use as column header"
     print "    --avm2name      nickname for avm2 to use as column header"
     print " -i --iterations    number of times to repeat test"
     print " -l --log           logs results to a file"
     print " -k --socketlog     logs results to a socket server"
     print " -r --runtime       name of the runtime VM used, including switch info eg. TTVMi (tamarin-tracing interp)"
     print " -m --memory        logs the high water memory mark"
     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 "    --vmversion     specify vmversion e.g. 502, use this if cannot be calculated from executable"
     print "    --vm2version    specify version of avm2"
     print "    --vmargs2       args to pass to avm2, if not specified --vmargs will be used"
     print "    --nooptimize    do not optimize files when compiling"
     print "    --perfm         parse the perfm results from avm"
     print "    --csv           output in csv format"
     print " -p --prettyprint   enhanced terminal coloring"
     exit(c)