Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / native_client / tests / nthread_nice / nacl.scons
1 # -*- python -*-
2 # Copyright 2010 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 Import('env')
7
8 if env.Bit('nacl_glibc'):
9   # This test does not build successfully with nacl-glibc yet.
10   # TODO(mseaborn): Fix this to build.
11   Return()
12
13 ######################################################################
14 # Smoke Test
15 ######################################################################
16 nexe = env.ComponentProgram('nthread_nice', 'nthread_nice.c',
17                             EXTRA_LIBS=['pthread'])
18
19 # TODO(bradchen): create and then apply framework for
20 # non-deterministic test results.
21 # node = env.CommandSelLdrTestNacl(
22 #    'nthread_nice.out',
23 #    nexe,
24 #    args=['--', '-t', '-d'],
25 #    stdout_golden=env.File('nthread_nice.stdout'),
26 #    )
27 # env.AddNodeToTestSuite(node, ['small_tests'])
28
29 env.Publish('nthread_nice', 'run', [])