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

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

Issue 1804293003: Add support for new pnacl native toolchain driver (Closed) Base URL: https://chromium.googlesource.com/webports.git@master
Patch Set: Rename exception flag Created 4 years, 7 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
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 */ 7 /* globals TEST_F, chrometest, DevEnvTest */
8 8
9 'use strict'; 9 'use strict';
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Run a NaCl executable to make sure syscalls are working. 70 // Run a NaCl executable to make sure syscalls are working.
71 TEST_F(DevEnvTest, 'testCTests', function() { 71 TEST_F(DevEnvTest, 'testCTests', function() {
72 var self = this; 72 var self = this;
73 return Promise.resolve().then(function() { 73 return Promise.resolve().then(function() {
74 return self.checkCommand('geturl ' + 74 return self.checkCommand('geturl ' +
75 chrometest.harnessURL('devenv_small_test.zip') + 75 chrometest.harnessURL('devenv_small_test.zip') +
76 ' devenv_small_test.zip', 0); 76 ' devenv_small_test.zip', 0);
77 }).then(function() { 77 }).then(function() {
78 return self.checkCommand('unzip devenv_small_test.zip', 0); 78 return self.checkCommand('unzip devenv_small_test.zip', 0);
79 }).then(function() { 79 }).then(function() {
80 var NACL_BOOT_ARCH = self.params["NACL_BOOT_ARCH"]
bradnelson 2016/05/02 17:38:58 semicolon.
Ankur Mittal 2016/05/02 20:22:14 Done.
80 return self.checkCommand( 81 return self.checkCommand(
81 'LD_LIBRARY_PATH=${PWD}/${PACKAGE_LIB_DIR}:$LD_LIBRARY_PATH ' + 82 'LD_LIBRARY_PATH=${PWD}/${PACKAGE_LIB_DIR}:$LD_LIBRARY_PATH ' +
82 './devenv_small_test_${NACL_BOOT_ARCH}', 0); 83 './devenv_small_test_' + NACL_BOOT_ARCH, 0);
83 }); 84 });
84 }); 85 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698