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

Side by Side Diff: tests/unittests/trusted/asan/build.scons

Issue 1328423003: Don't skip asan tests with atypical exit status. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « SConstruct ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 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 if not env.Bit('asan'): 8 if not env.Bit('asan'):
9 Return() 9 Return()
10 10
11 asan_test_exe = env.ComponentProgram('asan_test', 'asan_test.c') 11 asan_test_exe = env.ComponentProgram('asan_test', 'asan_test.c')
12 12
13 if env.Bit('host_mac'):
14 expected_exit_status = 'trusted_sigabrt'
15 else:
16 expected_exit_status = '1'
17
18
19 node = env.CommandTest( 13 node = env.CommandTest(
20 'asan_test.out', 14 'asan_test.out',
21 command=[asan_test_exe], 15 command=[asan_test_exe],
22 exit_status=expected_exit_status, 16 exit_status='1',
23 ) 17 )
24 env.AddNodeToTestSuite(node, ['small_tests'], 'run_asan_test') 18 env.AddNodeToTestSuite(node, ['small_tests'], 'run_asan_test')
OLDNEW
« no previous file with comments | « SConstruct ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698