OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright 2011 The Native Client Authors. All rights reserved. | 2 # Copyright 2011 The Native Client Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can | 3 # Use of this source code is governed by a BSD-style license that can |
4 # be found in the LICENSE file. | 4 # be found in the LICENSE file. |
5 | 5 |
6 # This test checks that all file functions are not redirected to their | 6 # This test checks that all file functions are not redirected to their |
7 # versions with suffix 64. In this case test program will not link | 7 # versions with suffix 64. In this case test program will not link |
8 # because glibc doesn't have them. | 8 # because glibc doesn't have them. |
9 | 9 |
10 Import('env') | 10 Import('env') |
11 | 11 |
12 # We test existence of functions that are not present in newlib. | 12 # We test existence of functions that are not present in newlib. |
13 if not env.Bit('nacl_glibc'): | 13 if not env.Bit('nacl_glibc'): |
14 Return() | 14 Return() |
15 | 15 |
16 env.ComponentProgram('test_file.nexe', 'test_file.c') | 16 env.ComponentProgram('test_file', 'test_file.c') |
17 # We don't want to execute this nexe | 17 # We don't want to execute this nexe |
OLD | NEW |