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

Side by Side Diff: tests/benchmark/nacl.scons

Issue 993003004: Delete flaky benchmark test (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Fix dependencies. Created 5 years, 9 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 | « tests/benchmark/framework.cc ('k') | tests/benchmark/thread_pool.cc » ('j') | 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 2014 The Native Client Authors. All rights reserved. 2 # Copyright 2014 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 8
9 # Disable this on Valgrind because we don't particularly need to measure 9 # Disable this on Valgrind because we don't particularly need to measure
10 # performance under Valgrind. Also, disable on emulation, since these 10 # performance under Valgrind. Also, disable on emulation, since these
11 # are benchmarks and need to run on real hardware. 11 # are benchmarks and need to run on real hardware.
12 is_broken = env.Bit('running_on_valgrind') or env.UsingEmulator() 12 is_broken = env.Bit('running_on_valgrind') or env.UsingEmulator()
13 13
14 libs = [] 14 libs = []
15 if env.Bit('nacl_glibc'): 15 if env.Bit('nacl_glibc'):
16 # Needed for clock_gettime(). 16 # Needed for clock_gettime().
17 libs.append('rt') 17 libs.append('rt')
18 18
19 env.Append(CFLAGS=['-std=c99', '-O2']) 19 env.Append(CFLAGS=['-std=c99', '-O2'])
20 env.Append(CCFLAGS=['-O2']) 20 env.Append(CCFLAGS=['-O2'])
21 env.Prepend(CPPPATH=['${MAIN_DIR}/src']) 21 env.Prepend(CPPPATH=['${MAIN_DIR}/src'])
22 22
23 nexe = env.ComponentProgram( 23 nexe = env.ComponentProgram(
24 'benchmark_test', 24 'benchmark_test',
25 ['benchmark_chameneos.cc', 25 ['benchmark_life.cc',
26 'benchmark_chameneos_c.c',
27 'benchmark_binarytrees.cc',
28 'benchmark_binarytrees_c.c',
29 'benchmark_life.cc',
30 'benchmark_nbody.cc',
31 'benchmark_nbody_c.c',
32 'framework.cc', 26 'framework.cc',
33 'main.cc', 27 'main.cc',
34 'thread_pool.cc'], 28 'thread_pool.cc'],
35 EXTRA_LIBS=['${NONIRT_LIBS}', 29 EXTRA_LIBS=['${NONIRT_LIBS}',
36 '${PTHREAD_LIBS}', 30 '${PTHREAD_LIBS}',
37 '${EXCEPTION_LIBS}'] 31 '${EXCEPTION_LIBS}']
38 + libs) 32 + libs)
39 33
40 # Allow this to be built even if sel_ldr / trusted code is not. 34 # Allow this to be built even if sel_ldr / trusted code is not.
41 if 'TRUSTED_ENV' not in env: 35 if 'TRUSTED_ENV' not in env:
42 Return() 36 Return()
43 37
44 node = env.CommandSelLdrTestNacl( 38 node = env.CommandSelLdrTestNacl(
45 'benchmark_test.out', nexe, [env.GetPerfEnvDescription()], 39 'benchmark_test.out', nexe, [env.GetPerfEnvDescription()],
46 # Don't hide output: We want the timings to be reported in the 40 # Don't hide output: We want the timings to be reported in the
47 # Buildbot logs so that Buildbot records the "RESULT" lines. 41 # Buildbot logs so that Buildbot records the "RESULT" lines.
48 capture_output=False) 42 capture_output=False)
49 env.AddNodeToTestSuite(node, ['large_tests'], 'run_benchmark_test', 43 env.AddNodeToTestSuite(node, ['large_tests'], 'run_benchmark_test',
50 is_broken=is_broken) 44 is_broken=is_broken)
OLDNEW
« no previous file with comments | « tests/benchmark/framework.cc ('k') | tests/benchmark/thread_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698