| # -*- python -*- |
| # Copyright (c) 2011 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('libc_free_hello_world', 'libc_free_hello_world.c', |
| EXTRA_LIBS=['${NONIRT_LIBS}']) |
| node = env.CommandSelLdrTestNacl( |
| 'libc_free_hello_world_test.out', |
| nexe, |
| stdout_golden=env.File('libc_free_hello_world.stdout'), |
| ) |
| env.AddNodeToTestSuite(node, |
| ['small_tests', 'sel_ldr_tests'], |
| 'run_libc_free_hello_world_test') |