File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
com.oracle.truffle.r.test.packages/pkgtest Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 2121# questions.
2222#
2323
24- import logging
2524import argparse
2625import hashlib
26+ import logging
27+ import os
2728import subprocess
2829import sys
29- import os
3030import tempfile
31- from os .path import join
3231from datetime import datetime
32+ from os .path import join
3333
3434fastr_default_testdir = 'test.fastr'
3535gnur_default_testdir = 'test.gnur'
@@ -249,7 +249,9 @@ def computeApiChecksum(includeDir):
249249 for fileName in fileList :
250250 try :
251251 with open (fileName ) as f :
252- m .update (f .read ().encode ())
252+ fileContent = f .read ().encode ()
253+ m .update (fileContent )
254+ logging .log (VERY_VERBOSE , f"{ m .hexdigest ()} is checksum after updating with { fileName } " )
253255 except IOError as e :
254256 # Ignore errors on broken symlinks
255257 if not os .path .islink (fileName ) or os .path .exists (fileName ):
You can’t perform that action at this time.
0 commit comments