| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright 2010 The Native Client Authors. All rights reserved. | 2 # Copyright 2010 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 Import('env') | 6 Import('env') |
| 7 | 7 |
| 8 debug_sources = [ | 8 debug_sources = [ |
| 9 'abi.cc', | 9 'abi.cc', |
| 10 'debug_stub.cc', | 10 'debug_stub.cc', |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 | 42 |
| 43 env.DualLibrary('debug_stub', debug_sources) | 43 env.DualLibrary('debug_stub', debug_sources) |
| 44 | 44 |
| 45 gdb_rsp_test_exe = env.ComponentProgram( | 45 gdb_rsp_test_exe = env.ComponentProgram( |
| 46 'gdb_rsp_unittest', rsp_test_sources, EXTRA_LIBS=['debug_stub']) | 46 'gdb_rsp_unittest', rsp_test_sources, EXTRA_LIBS=['debug_stub']) |
| 47 | 47 |
| 48 node = env.CommandTest('gdb_rsp_unittest.out', command=[gdb_rsp_test_exe]) | 48 node = env.CommandTest('gdb_rsp_unittest.out', command=[gdb_rsp_test_exe]) |
| 49 env.AddNodeToTestSuite(node, ['small_tests'], 'run_gdb_rsp_tests') | 49 env.AddNodeToTestSuite(node, ['small_tests'], 'run_gdb_rsp_tests') |
| 50 | 50 |
| 51 gtest_env = env.MakeGTestEnv() | 51 if not env.Bit('windows'): |
| 52 gtest_env = env.MakeGTestEnv() |
| 52 | 53 |
| 53 transport_ipc_test_exe = gtest_env.ComponentProgram( | 54 transport_ipc_test_exe = gtest_env.ComponentProgram( |
| 54 'transport_ipc_unittest', | 55 'transport_ipc_unittest', |
| 55 'transport_ipc_test.cc', | 56 'transport_ipc_test.cc', |
| 56 EXTRA_LIBS=['debug_stub']) | 57 EXTRA_LIBS=['debug_stub']) |
| 57 | 58 |
| 58 node = gtest_env.CommandTest('transport_ipc_unittest.out', | 59 node = gtest_env.CommandTest('transport_ipc_unittest.out', |
| 59 command=[transport_ipc_test_exe]) | 60 command=[transport_ipc_test_exe]) |
| 60 env.AddNodeToTestSuite(node, ['small_tests'], 'run_transport_ipc_test') | 61 env.AddNodeToTestSuite(node, ['small_tests'], 'run_transport_ipc_test') |
| OLD | NEW |