aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorPaul Rouget <me@paulrouget.com>2018-07-31 22:38:54 +0800
committerPaul Rouget <me@paulrouget.com>2018-07-31 22:39:45 +0800
commitbef2fe83cd995eb291e1ce58c2966b232431a735 (patch)
treee41ff1e02633e59f1e016c493f86781636e47847 /python/servo/testing_commands.py
parent76d394eca84b0acdeeabe90f855fa0a2b525d235 (diff)
downloadservo-bef2fe83cd995eb291e1ce58c2966b232431a735.tar.gz
servo-bef2fe83cd995eb291e1ce58c2966b232431a735.zip
new android port: fix android build and tests
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index db369a82b2d..78147ad6240 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -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", "")