Skip to content

Commit 74800be

Browse files
Added print statement for debugging
1 parent 1610adf commit 74800be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/gen_coverage.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def find_objects():
109109
objects = []
110110
sfx_regexp = sysconfig.get_config_var("EXT_SUFFIX").replace(".", r"\.")
111111
regexp1 = re.compile(r"^_tensor_.*impl" + sfx_regexp)
112-
regexp2 = re.compile(r"^_device_queries" + sfx_regexp)
112+
regexp2 = re.compile(r"^^_device_queries" + sfx_regexp)
113113

114114
def is_py_ext(fn):
115115
return re.match(regexp1, fn) or re.match(regexp2, fn)
@@ -127,6 +127,7 @@ def is_py_ext(fn):
127127
]
128128
) or is_py_ext(file):
129129
objects.extend(["-object", os.path.join(root, file)])
130+
print("Using objects: ", objects)
130131
return objects
131132

132133
objects = find_objects()

0 commit comments

Comments
 (0)