Commits

Anonymous committed d626368

Updated readme on run_tests.py

Comments (0)

Files changed (1)

 tests for return code and if tests don't return after TIME_OUT, will kill 
 process with os.kill.
 
-os.kill is defined on win32 platform using subprocess.Popen to call either 
-pskill or taskkill if on the system $PATH. If not, the script will raise 
-SystemExit.
-
-taskkill is shipped with windows from XP on.
-pskill is available from SysInternals website
+os.kill is defined on win32 platform using win32api.TerminateProcess
 
 Dependencies:
     async_sub.py:
-        Requires win32 extensions when run on windows:
-            Maybe able to get away with win32file.pyd, win32pipe.pyd zipped to 
-            about 35kbytes and ship with that.
+        Requires win32 extensions when run on windows
+
 """
 
 #################################### IMPORTS ###################################
 
 sys.path.insert(0, test_subdir)
 
-# sys.path.append( os.path.join(os.path.dirname(__file__), "async_libs.zip") )
-
 import test_utils
 
 ################################### CONSTANTS ##################################
      help   = "path to python excutable to run subproccesed tests\n"
               "default (sys.executable): %s" % sys.executable)
 
-     # can be used for testing ret_code resilience
-
 options, args = opt_parser.parse_args()
 
 ################################################################################
     module = os.path.basename(cmd).split('.')[0]
     print 'loading %s' % module
     ret_code, response = async_sub.proc_in_time_or_kill (
-        cmd, time_out=options.time_out
+        cmd, time_out = options.time_out
     )
     return cmd, module, ret_code, response
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.