 Chromium Code Reviews
 Chromium Code Reviews Issue 11236025:
  Test that debug stub works with browser.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src/
    
  
    Issue 11236025:
  Test that debug stub works with browser.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src/| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import sys | |
| 6 | |
| 7 import gdb_rsp | |
| 8 | |
| 9 def TestContinue(connection): | |
| 10 assert 'W00' == connection.RspRequest('vCont;c') | |
| 
Mark Seaborn
2012/10/23 01:14:50
Please make sure this logs the actual reply if the
 
halyavin
2012/10/23 11:59:29
Done.
 | |
| 11 | |
| 12 def Main(args): | |
| 13 port = int(args[0]) | |
| 14 name = args[1] | |
| 
Mark Seaborn
2012/10/23 01:14:50
There's no need for a 'name' arg if you only suppo
 
halyavin
2012/10/23 11:59:29
This is only the first debugger test. We need more
 
Mark Seaborn
2012/12/04 21:46:42
So you can add a 'name' arg in a later change when
 
halyavin
2012/12/05 10:16:55
We certainly need more than one test in chrome. So
 | |
| 15 connection = gdb_rsp.GdbRspConnection(('localhost', port)) | |
| 16 if name == 'continue': | |
| 17 TestContinue(connection) | |
| 18 | |
| 19 if __name__ == '__main__': | |
| 20 Main(sys.argv[1:]) | |
| OLD | NEW |