Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1535)

Unified Diff: chrome/browser/nacl_host/test/debug_stub_browser_tests.py

Issue 11236025: Test that debug stub works with browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/nacl_host/test/debug_stub_browser_tests.py
===================================================================
--- chrome/browser/nacl_host/test/debug_stub_browser_tests.py (revision 0)
+++ chrome/browser/nacl_host/test/debug_stub_browser_tests.py (revision 0)
@@ -0,0 +1,23 @@
+# Copyright (c) 2012 The Native Client Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import sys
+
+import gdb_rsp
+
+
+def TestContinue(connection):
+ result = connection.RspRequest('vCont;c')
+ assert result =='W00', result
+
+
+def Main(args):
+ port = int(args[0])
+ name = args[1]
+ connection = gdb_rsp.GdbRspConnection(('localhost', port))
+ if name == 'continue':
+ TestContinue(connection)
+
+if __name__ == '__main__':
+ Main(sys.argv[1:])

Powered by Google App Engine
This is Rietveld 408576698