2 # Copyright (c) 2012 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.
6 # This test uses ppapi_test_lib.
10 env.Prepend(CPPDEFINES=['XP_UNIX'])
11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' +
14 nexe = env.ProgramNameForNmf('ppapi_ppp_instance')
15 env.Alias('ppapi_ppp_instance${PROGSUFFIX}',
16 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
18 ppapi_ppp_instance_nexe = env.ComponentProgram(
20 ['ppapi_ppp_instance.cc'],
23 'platform', # for CHECK
28 env.Publish(nexe, 'run',
29 ['ppapi_ppp_instance.html',
30 'ppapi_ppp_instance.js'])
32 node = env.PPAPIBrowserTester('ppapi_ppp_instance_browser_test.out',
33 url='ppapi_ppp_instance.html',
34 nmf_names=['ppapi_ppp_instance'],
35 files=env.ExtractPublishedFiles(nexe))
37 env.AddNodeToTestSuite(node,
38 ['chrome_browser_tests'],
39 'run_ppapi_ppp_instance_browser_test',
40 is_broken=env.PPAPIBrowserTesterIsBroken())