Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: ports/devenv/io2014_test.py

Issue 1563073002: Re-enable io2014 + add cds2014 tests for devenv. (Closed) Base URL: https://chromium.googlesource.com/webports.git@master
Patch Set: fix Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ports/devenv/devenv_large_test.py ('k') | ports/devenv/tests/common.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright (c) 2014 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 """Test of Google I/O 2014 tutorial."""
6
7 import os
8 import sys
9
10 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
11 sys.path.append(os.path.join(SCRIPT_DIR, '../..'))
12 SRC_DIR = os.path.dirname(os.path.dirname(SCRIPT_DIR))
13 TOOLCHAIN = os.environ.get('TOOLCHAIN', 'newlib')
14 DEVENV_OUT_DIR = os.path.join(SRC_DIR, 'out/publish/devenv', TOOLCHAIN)
15
16 import chrome_test
17
18
19 app = os.path.join(DEVENV_OUT_DIR, 'app')
20 test_dir = os.path.join(SCRIPT_DIR, 'tests')
21
22 chrome_test.main([
23 '-C', test_dir,
24 '-p', 'TOOLCHAIN=' + TOOLCHAIN,
25 '-t', '400',
26 '--enable-nacl',
27 '--load-extension', app,
28 'io2014_test.html'] + sys.argv[1:])
OLDNEW
« no previous file with comments | « ports/devenv/devenv_large_test.py ('k') | ports/devenv/tests/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698