mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
Parcel update and CI improvements (#136830)
* 🆙 product * 🆙 parcel/watcher * 🆙 parcel/watcher * tests - separate remote logs from others * store server logs too * more tweaks * fix name * error when 10s passed
This commit is contained in:
@@ -128,6 +128,7 @@ export async function spawn(options: SpawnOptions): Promise<Code> {
|
||||
|
||||
const env = { ...process.env };
|
||||
const codePath = options.codePath;
|
||||
const logsPath = path.join(repoPath, '.build', 'logs', options.remote ? 'smoke-tests-remote' : 'smoke-tests');
|
||||
const outPath = codePath ? getBuildOutPath(codePath) : getDevOutPath();
|
||||
|
||||
const args = [
|
||||
@@ -142,7 +143,7 @@ export async function spawn(options: SpawnOptions): Promise<Code> {
|
||||
'--disable-workspace-trust',
|
||||
`--extensions-dir=${options.extensionsPath}`,
|
||||
`--user-data-dir=${options.userDataDir}`,
|
||||
`--logsPath=${path.join(repoPath, '.build', 'logs', 'smoke-tests')}`,
|
||||
`--logsPath=${logsPath}`,
|
||||
'--driver', handle
|
||||
];
|
||||
|
||||
@@ -170,6 +171,7 @@ export async function spawn(options: SpawnOptions): Promise<Code> {
|
||||
}
|
||||
|
||||
env['TESTRESOLVER_DATA_FOLDER'] = remoteDataDir;
|
||||
env['TESTRESOLVER_LOGS_FOLDER'] = path.join(logsPath, 'server');
|
||||
}
|
||||
|
||||
const spawnOptions: cp.SpawnOptions = { env };
|
||||
|
||||
Reference in New Issue
Block a user