We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7c3df7 commit 5cd87bfCopy full SHA for 5cd87bf
mx.graalpython/mx_graalpython.py
@@ -741,11 +741,12 @@ def delete_self_if_testdownstream(args):
741
742
def update_import(name, suite_py, rev="origin/master"):
743
parent = os.path.join(SUITE.dir, "..")
744
+ dep_dir = None
745
for dirpath, dirnames, _ in os.walk(parent):
746
if os.path.sep in os.path.relpath(dirpath, parent):
747
dirnames.clear() # we're looking for siblings or sibling-subdirs
- elif name in dirnames:
748
- dep_dir = os.path.join(os.path.join(dirpath))
+ elif name in dirnames and os.path.isdir(os.path.join(dirpath, name, "mx.%s" % name)):
749
+ dep_dir = dirpath
750
break
751
if not dep_dir:
752
mx.warn("could not find suite %s to update" % name)
0 commit comments