Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 # TODO(petarj): The tests hang indefinite on QEMU. Enable it when fixed. | |
| 9 is_broken=(env.Bit('build_mips32') and env.UsingEmulator()) | |
|
Mark Seaborn
2013/02/13 22:14:09
Style is
foo = bar
rather than
foo=(bar)
petarj
2013/03/05 17:50:04
Done.
| |
| 10 | |
| 8 fib_array_nexe = env.ComponentProgram( | 11 fib_array_nexe = env.ComponentProgram( |
| 9 'fib_array', | 12 'fib_array', |
| 10 'fib_array.c', | 13 'fib_array.c', |
| 11 EXTRA_LIBS=['srpc', | 14 EXTRA_LIBS=['srpc', |
| 12 'platform', | 15 'platform', |
| 13 'gio', | 16 'gio', |
| 14 'imc', | 17 'imc', |
| 15 'imc_syscalls', | 18 'imc_syscalls', |
| 16 '${PTHREAD_LIBS}', | 19 '${PTHREAD_LIBS}', |
| 17 '${NONIRT_LIBS}']) | 20 '${NONIRT_LIBS}']) |
| 18 node = env.SelUniversalTest( | 21 node = env.SelUniversalTest( |
| 19 'fib_array_test.out', | 22 'fib_array_test.out', |
| 20 fib_array_nexe, | 23 fib_array_nexe, |
| 21 stdin=env.File('fib_array_test.stdin'), | 24 stdin=env.File('fib_array_test.stdin'), |
| 22 stdout_golden=env.File('fib_array_test.stdout') | 25 stdout_golden=env.File('fib_array_test.stdout') |
| 23 ) | 26 ) |
| 24 env.AddNodeToTestSuite(node, | 27 env.AddNodeToTestSuite(node, |
| 25 ['small_tests', 'sel_ldr_tests'], | 28 ['small_tests', 'sel_ldr_tests'], |
| 26 'run_fib_array_test') | 29 'run_fib_array_test', is_broken=is_broken) |
| 27 | 30 |
| 28 | 31 |
| 29 | 32 |
| 30 fib_scalar_nexe = env.ComponentProgram( | 33 fib_scalar_nexe = env.ComponentProgram( |
| 31 'fib_scalar', | 34 'fib_scalar', |
| 32 'fib_scalar.c', | 35 'fib_scalar.c', |
| 33 EXTRA_LIBS=['srpc', | 36 EXTRA_LIBS=['srpc', |
| 34 'platform', | 37 'platform', |
| 35 'gio', | 38 'gio', |
| 36 'imc', | 39 'imc', |
| 37 'imc_syscalls', | 40 'imc_syscalls', |
| 38 '${PTHREAD_LIBS}', | 41 '${PTHREAD_LIBS}', |
| 39 '${NONIRT_LIBS}']) | 42 '${NONIRT_LIBS}']) |
| 40 node = env.SelUniversalTest( | 43 node = env.SelUniversalTest( |
| 41 'fib_scalar_test.out', | 44 'fib_scalar_test.out', |
| 42 fib_scalar_nexe, | 45 fib_scalar_nexe, |
| 43 stdin=env.File('fib_scalar_test.stdin'), | 46 stdin=env.File('fib_scalar_test.stdin'), |
| 44 stdout_golden=env.File('fib_scalar_test.stdout') | 47 stdout_golden=env.File('fib_scalar_test.stdout') |
| 45 ) | 48 ) |
| 46 env.AddNodeToTestSuite(node, | 49 env.AddNodeToTestSuite(node, |
| 47 ['small_tests', 'sel_ldr_tests'], | 50 ['small_tests', 'sel_ldr_tests'], |
| 48 'run_fib_scalar_test') | 51 'run_fib_scalar_test', is_broken=is_broken) |
| OLD | NEW |