mirror of
https://github.com/servo/servo.git
synced 2025-06-08 16:43:28 +00:00
Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.
This commit is contained in:
parent
65d4b12bf2
commit
5f15eb5fbf
140 changed files with 1420 additions and 1222 deletions
|
@ -36,12 +36,12 @@ class MachCommands(CommandBase):
|
|||
|
||||
def find_test(self, prefix):
|
||||
target_contents = os.listdir(path.join(
|
||||
self.context.topdir, "components", "servo", "target"))
|
||||
self.context.topdir, "components", "servo", "target", "debug"))
|
||||
for filename in target_contents:
|
||||
if filename.startswith(prefix + "-"):
|
||||
filepath = path.join(
|
||||
self.context.topdir, "components", "servo",
|
||||
"target", filename)
|
||||
"target", "debug", filename)
|
||||
|
||||
if path.isfile(filepath) and os.access(filepath, os.X_OK):
|
||||
return filepath
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue