[Python-checkins] r45484 - python/trunk/Tools/buildbot/build.bat python/trunk/Tools/buildbot/kill_python.bat python/trunk/Tools/buildbot/kill_python.c python/trunk/Tools/buildbot/kill_python.mak

martin.v.loewis python-checkins at python.org
Mon Apr 17 12:39:39 CEST 2006


Author: martin.v.loewis
Date: Mon Apr 17 12:39:39 2006
New Revision: 45484

Modified:
   python/trunk/Tools/buildbot/build.bat
   python/trunk/Tools/buildbot/kill_python.bat
   python/trunk/Tools/buildbot/kill_python.c
   python/trunk/Tools/buildbot/kill_python.mak
Log:
Revert to 45478, disable kill_python command for now.

Modified: python/trunk/Tools/buildbot/build.bat
==============================================================================
--- python/trunk/Tools/buildbot/build.bat	(original)
+++ python/trunk/Tools/buildbot/build.bat	Mon Apr 17 12:39:39 2006
@@ -1,5 +1,5 @@
 @rem Used by the buildbot "compile" step.
 cmd /c Tools\buildbot\external.bat
 call "%VS71COMNTOOLS%vsvars32.bat"
-cmd /c Tools\buildbot\kill_python.bat
+ at rem cmd /q/c Tools\buildbot\kill_python.bat
 devenv.com /useenv /build Debug PCbuild\pcbuild.sln

Modified: python/trunk/Tools/buildbot/kill_python.bat
==============================================================================
--- python/trunk/Tools/buildbot/kill_python.bat	(original)
+++ python/trunk/Tools/buildbot/kill_python.bat	Mon Apr 17 12:39:39 2006
@@ -1,4 +1,3 @@
 cd Tools\buildbot
-dir
-nmake /f kill_python.mak
-kill_python4.exe
+nmake /C /S /f kill_python.mak
+kill_python.exe

Modified: python/trunk/Tools/buildbot/kill_python.c
==============================================================================
--- python/trunk/Tools/buildbot/kill_python.c	(original)
+++ python/trunk/Tools/buildbot/kill_python.c	Mon Apr 17 12:39:39 2006
@@ -13,7 +13,6 @@
 		return 1;
 	}
 	num_processes = cbNeeded/sizeof(pids[0]);
-        printf("%d processes\n", num_processes);
 	for (i = 0; i < num_processes; i++) {
 		HANDLE hProcess;
 		char path[MAX_PATH];
@@ -42,9 +41,7 @@
 		}
 
 		_strlwr(path);
-		printf("%s\n", path);
-                fflush(stdout);
-                /*
+		/* printf("%s\n", path); */
 		if (strstr(path, "build\\pcbuild\\python_d.exe") != NULL) {
 			printf("Terminating %s (pid %d)\n", path, pids[i]);
 			if (!TerminateProcess(hProcess, 1)) {
@@ -53,8 +50,7 @@
 			}
 			return 0;
 		}
-                */
 
 		CloseHandle(hProcess);
 	}
-}
+}
\ No newline at end of file

Modified: python/trunk/Tools/buildbot/kill_python.mak
==============================================================================
--- python/trunk/Tools/buildbot/kill_python.mak	(original)
+++ python/trunk/Tools/buildbot/kill_python.mak	Mon Apr 17 12:39:39 2006
@@ -1,2 +1,2 @@
 kill_python.exe:	kill_python.c
-		cl -nologo -o kill_python4.exe kill_python.c psapi.lib
+		cl -nologo -o kill_python.exe kill_python.c psapi.lib


More information about the Python-checkins mailing list