| OLD | NEW |
| 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 Loading... |
| 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"]; |
| 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 }); |
| OLD | NEW |