OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 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 platform | 6 import platform |
7 | 7 |
8 Import('env') | 8 Import('env') |
9 | 9 |
10 | 10 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 ###################################################################### | 73 ###################################################################### |
74 ## Automated testing using sel_universal | 74 ## Automated testing using sel_universal |
75 ###################################################################### | 75 ###################################################################### |
76 | 76 |
77 node = env.SelUniversalTest( | 77 node = env.SelUniversalTest( |
78 'srpc_basic_test.out', | 78 'srpc_basic_test.out', |
79 srpc_test_nonbrowser, | 79 srpc_test_nonbrowser, |
80 sel_universal_flags=['--command_file', env.File('srpc_basic_test.stdin')], | 80 sel_universal_flags=['--command_file', env.File('srpc_basic_test.stdin')], |
81 stdout_golden=env.File('srpc_basic_test.stdout'), | 81 stdout_golden=env.File('srpc_basic_test.stdout'), |
82 ) | 82 ) |
| 83 |
| 84 # TODO(petarj): Test hangs indefinitely on qemu. Enable test when fixed. |
| 85 is_broken = (env.Bit('build_mips32') and env.UsingEmulator()) |
| 86 |
83 env.AddNodeToTestSuite(node, | 87 env.AddNodeToTestSuite(node, |
84 ['sel_ldr_tests', 'small_tests'], | 88 ['sel_ldr_tests', 'small_tests'], |
85 'run_srpc_basic_test') | 89 'run_srpc_basic_test', |
| 90 is_broken=is_broken) |
86 | 91 |
87 node = env.SelUniversalTest( | 92 node = env.SelUniversalTest( |
88 'srpc_bad_service.out', | 93 'srpc_bad_service.out', |
89 srpc_bad_service_nexe, | 94 srpc_bad_service_nexe, |
90 exit_status='1' | 95 exit_status='1' |
91 ) | 96 ) |
92 env.AddNodeToTestSuite(node, | 97 env.AddNodeToTestSuite(node, |
93 ['sel_ldr_tests', 'small_tests'], | 98 ['sel_ldr_tests', 'small_tests'], |
94 'run_srpc_bad_service_test') | 99 'run_srpc_bad_service_test', |
| 100 is_broken=is_broken) |
OLD | NEW |