mirror of
https://github.com/servo/servo.git
synced 2025-06-12 02:14:41 +00:00
new android port: fix android build and tests
This commit is contained in:
parent
76d394eca8
commit
bef2fe83cd
9 changed files with 43 additions and 39 deletions
|
@ -278,7 +278,7 @@ class MachCommands(CommandBase):
|
|||
|
||||
features = self.servo_features()
|
||||
if len(packages) > 0 or len(in_crate_packages) > 0:
|
||||
args = ["cargo", "bench" if bench else "test", "--manifest-path", self.servo_manifest()]
|
||||
args = ["cargo", "bench" if bench else "test", "--manifest-path", self.ports_servo_manifest()]
|
||||
for crate in packages:
|
||||
args += ["-p", "%s_tests" % crate]
|
||||
for crate in in_crate_packages:
|
||||
|
@ -576,7 +576,7 @@ class MachCommands(CommandBase):
|
|||
def test_android_startup(self, release, dev):
|
||||
html = """
|
||||
<script>
|
||||
console.log("JavaScript is running!")
|
||||
window.alert("JavaScript is running!")
|
||||
</script>
|
||||
"""
|
||||
url = "data:text/html;base64," + html.encode("base64").replace("\n", "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue