| # -*- python -*- |
| # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| Import('env') |
| |
| nexe = env.ComponentProgram( |
| env.ProgramNameForNmf('random_test'), 'random_test.c', |
| EXTRA_LIBS=['${NONIRT_LIBS}', '${RANDOM_LIBS}', '${TESTRUNNER_LIBS}']) |
| |
| node = env.CommandSelLdrTestNacl('random_test.out', nexe, |
| sel_ldr_flags=['-E', 'OUTSIDE_BROWSER=1']) |
| env.AddNodeToTestSuite(node, ['small_tests'], 'run_random_test') |