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

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

Issue 1285953002: Switch devenv to use pkg packages (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@toolchain_install
Patch Set: Created 5 years, 4 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 'use strict'; 7 'use strict';
8 8
9 // Install several packages. 9 // Install several packages.
10 // This test must be run before any tests that use these packages. 10 // This test must be run before any tests that use these packages.
11 TEST_F(DevEnvTest, 'testPackageInstall', function() { 11 TEST_F(DevEnvTest, 'testPackageInstall', function() {
12 var self = this; 12 var self = this;
13 return Promise.resolve().then(function() { 13 return Promise.resolve().then(function() {
14 return self.installPackage('corelibs');
15 }).then(function() {
14 return self.installPackage('coreutils'); 16 return self.installPackage('coreutils');
15 }).then(function() { 17 }).then(function() {
16 return self.installPackage('git'); 18 return self.installPackage('git');
17 }).then(function() { 19 }).then(function() {
18 return self.installPackage('make'); 20 return self.installPackage('make');
19 }).then(function() { 21 }).then(function() {
20 return self.installPackage('python'); 22 return self.installPackage('python');
21 }).then(function() { 23 }).then(function() {
22 return self.installPackage('curl'); 24 return self.installPackage('curl');
23 }); 25 });
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 'curl https://nacltools.storage.googleapis.com/io2014/voronoi.zip -O'); 293 'curl https://nacltools.storage.googleapis.com/io2014/voronoi.zip -O');
292 }).then(function() { 294 }).then(function() {
293 return self.checkCommand('unzip voronoi.zip'); 295 return self.checkCommand('unzip voronoi.zip');
294 }).then(function() { 296 }).then(function() {
295 return self.readFile('/home/user/voronoi/Makefile'); 297 return self.readFile('/home/user/voronoi/Makefile');
296 }).then(function(data) { 298 }).then(function(data) {
297 // Check there's something in the makefile. 299 // Check there's something in the makefile.
298 ASSERT_GT(data.length, 100); 300 ASSERT_GT(data.length, 100);
299 }); 301 });
300 }); 302 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698