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

Side by Side Diff: ports/devenv/tests/devenv_small_test.js

Issue 1415743013: Run jshint over all JavaScript files (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@repo_conf
Patch Set: Created 5 years, 1 month 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/tests/devenv_large_test.js ('k') | ports/devenv/tests/io2014_test.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The Native Client Authors. All rights reserved. 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 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* globals TEST_F, chrometest, DevEnvTest */
8
7 'use strict'; 9 'use strict';
8 10
9 // Run the command "bash -c 'exit 42'" and check the exit code. 11 // Run the command "bash -c 'exit 42'" and check the exit code.
10 TEST_F(DevEnvTest, 'testExit', function() { 12 TEST_F(DevEnvTest, 'testExit', function() {
11 return this.checkCommand('exit 42', 42, ''); 13 return this.checkCommand('exit 42', 42, '');
12 }); 14 });
13 15
14 // Run the command "bash -c 'echo hello'" and check the exit code. 16 // Run the command "bash -c 'echo hello'" and check the exit code.
15 TEST_F(DevEnvTest, 'testEcho', function() { 17 TEST_F(DevEnvTest, 'testEcho', function() {
16 return this.checkCommand('echo hello', 0, 'hello\n'); 18 return this.checkCommand('echo hello', 0, 'hello\n');
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 chrometest.harnessURL('devenv_small_test.zip') + 58 chrometest.harnessURL('devenv_small_test.zip') +
57 ' devenv_small_test.zip', 0); 59 ' devenv_small_test.zip', 0);
58 }).then(function() { 60 }).then(function() {
59 return self.checkCommand('unzip devenv_small_test.zip', 0); 61 return self.checkCommand('unzip devenv_small_test.zip', 0);
60 }).then(function() { 62 }).then(function() {
61 return self.checkCommand( 63 return self.checkCommand(
62 'LD_LIBRARY_PATH=${PWD}/${PACKAGE_LIB_DIR}:$LD_LIBRARY_PATH ' + 64 'LD_LIBRARY_PATH=${PWD}/${PACKAGE_LIB_DIR}:$LD_LIBRARY_PATH ' +
63 './devenv_small_test_${NACL_BOOT_ARCH}', 0); 65 './devenv_small_test_${NACL_BOOT_ARCH}', 0);
64 }); 66 });
65 }); 67 });
OLDNEW
« no previous file with comments | « ports/devenv/tests/devenv_large_test.js ('k') | ports/devenv/tests/io2014_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698