Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator / nacl.scons
index 9084c70..c082a8b 100644 (file)
@@ -1,7 +1,7 @@
 # -*- python -*-
-# Copyright 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.
+# Copyright 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')
 
@@ -19,8 +19,8 @@ else:
   Return()
 
 env.PrependENVPath('PATH', env['TRUSTED_ENV'].SubstList2('${STAGING_DIR}'))
-dependencies = [env['TRUSTED_ENV'].File('${STAGING_DIR}/ncval${PROGSUFFIX}'),
-               ]
+dependencies = [
+    env['TRUSTED_ENV'].File('${STAGING_DIR}/ncval_new${PROGSUFFIX}'),]
 
 node = env.CommandTest(
     'ncval_annotate_test.out',
@@ -30,4 +30,6 @@ node = env.CommandTest(
 env.AddNodeToTestSuite(node, ['small_tests'], 'run_ncval_annotate_test',
                        # PNaCl does not allow the inline assembly that
                        # we use to test this.
-                       is_broken=env.Bit('bitcode'))
+                       # The test also hardcodes use of nacl-gcc and doesn't
+                       # really need to run more than once anyway.
+                       is_broken=env.Bit('bitcode') or env.Bit('nacl_clang'))