smoke test: only run multi root test against insiders edition

This commit is contained in:
Benjamin Pasero
2017-07-20 17:59:34 +02:00
parent 53f0675aca
commit d185c3190c
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ if (program.stable) {
process.env.VSCODE_STABLE_PATH = program.stable;
}
process.env.SMOKETEST_REPO = testRepoLocalDir;
if (program.stable && program.stable.toLowerCase().startsWith('insiders')) {
if (program.latest && program.latest.indexOf('Code - Insiders') >= 0) {
process.env.VSCODE_EDITION = 'insiders';
}
process.env.VSCODE_WORKSPACE_PATH = codeWorkspace;
+3 -1
View File
@@ -34,5 +34,7 @@ describe('Smoke Test Suite', () => {
testTasks();
testExtensions();
testLocalization();
testMultiRoot();
if (process.env.VSCODE_EDITION === 'insiders') {
testMultiRoot(); // only enabled in insiders
}
});