@@ -90,16 +90,16 @@ def fflush():
9090
9191def check_output_log (* popenargs , ** kwargs ):
9292 if DEBUG :
93- fflush ()
9493 print ("run: check_output" , popenargs , kwargs )
9594 print ("\n " )
95+ fflush ()
9696 return subprocess .check_output (* popenargs , ** kwargs )
9797
9898def check_call_log (* popenargs , ** kwargs ):
9999 if DEBUG :
100- fflush ()
101100 print ("run: check_call" , popenargs , kwargs )
102101 print ("\n " )
102+ fflush ()
103103 return subprocess .check_call (* popenargs , ** kwargs )
104104
105105def rmtree (f ):
@@ -119,8 +119,8 @@ def runCommand(cmd, prefix, timeout):
119119 process = [None ]
120120 def target ():
121121 if DEBUG :
122- fflush ()
123122 print ("run: Popen %s, %s, %d\n " % (cmd , prefix , timeout ))
123+ fflush ()
124124 with open (os .devnull , 'w' ) as FNULL :
125125 if isWin :
126126 process [0 ] = subprocess .Popen (cmd , shell = True , stdin = FNULL , stdout = FNULL , stderr = FNULL )
@@ -413,8 +413,20 @@ def testHelloWorld(cmd):
413413 (c ["referenceFiles" ],c ["referenceFilesURL" ]) = preparedReferenceDirs [destination ]
414414 continue
415415 giturl = c ["referenceFiles" ]["giturl" ]
416- destination = os .path .normpath (c ["referenceFiles" ]["destination" ])
417- destinationReal = os .path .normpath (os .path .realpath (destination ))
416+ destination = c ["referenceFiles" ]["destination" ]
417+ if DEBUG :
418+ print ("destination %s" % destination )
419+ destination = os .path .normpath (destination )
420+ if DEBUG :
421+ print ("normalized destination %s" % destination )
422+ print ("not os.path.isdir(destination): %s" % (not os .path .isdir (destination )))
423+ destinationReal = os .path .realpath (destination )
424+ if DEBUG :
425+ print ("destinationReal %s" % destinationReal )
426+ destinationReal = os .path .normpath (destinationReal )
427+ if DEBUG :
428+ print ("normalized destinationReal %s" % destinationReal )
429+ print ("referenceFiles:" , c ["referenceFiles" ])
418430
419431 if not os .path .isdir (destination ):
420432 if "git-directory" in c ["referenceFiles" ]:
0 commit comments