Skip to content

Commit 063f57e

Browse files
committed
More tries to fix
1 parent b626f95 commit 063f57e

7 files changed

+12
-12
lines changed

.vscode-test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { join } from 'path';
44
import { mkdirSync } from 'fs';
55

66
// Create a temporary test workspace
7-
const testWorkspace = join(tmpdir(), 'zephyr-ide-test-workspace-' + Date.now());
7+
const testWorkspace = join(tmpdir(), 'zide-spc-' + Date.now());
88
mkdirSync(testWorkspace, { recursive: true });
99

1010
export default defineConfig({

src/setup_utilities/west-operations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export async function westUpdate(context: vscode.ExtensionContext, wsConfig: Wor
117117
wsConfig.activeSetupState.zephyrVersion = undefined;
118118
saveSetupState(context, wsConfig, globalConfig);
119119

120-
let cmd = `west update`;
120+
let cmd = `west update --narrow`;
121121
let westUpdateRes = await executeTaskHelperInPythonEnv(wsConfig.activeSetupState, "Zephyr IDE: West Update", cmd, wsConfig.activeSetupState.setupPath);
122122

123123
if (!westUpdateRes) {

src/test/open-current-directory.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ suite("Open Current Directory Test Suite", () => {
5252
const existingWorkspace =
5353
vscode.workspace.workspaceFolders?.[0]?.uri.fsPath;
5454
testWorkspaceDir = existingWorkspace
55-
? path.join(existingWorkspace, "open-current-directory-test")
56-
: path.join(os.tmpdir(), "open-current-directory-test-" + Date.now());
55+
? path.join(existingWorkspace, "curr-dir")
56+
: path.join(os.tmpdir(), "curr-dir-" + Date.now());
5757

5858
await fs.ensureDir(testWorkspaceDir);
5959

src/test/standard-workspace.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ suite("Standard Workspace Test Suite", () => {
6262
const existingWorkspace =
6363
vscode.workspace.workspaceFolders?.[0]?.uri.fsPath;
6464
testWorkspaceDir = existingWorkspace
65-
? path.join(existingWorkspace, "zephyr-workflow-test")
66-
: path.join(os.tmpdir(), "zephyr-workflow-test-" + Date.now());
65+
? path.join(existingWorkspace, "std")
66+
: path.join(os.tmpdir(), "std-" + Date.now());
6767

6868
await fs.ensureDir(testWorkspaceDir);
6969

src/test/west-git-workspace.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ suite("West Git Workspace Test Suite", () => {
5151
const existingWorkspace =
5252
vscode.workspace.workspaceFolders?.[0]?.uri.fsPath;
5353
testWorkspaceDir = existingWorkspace
54-
? path.join(existingWorkspace, "zephyr-git-workflow-test")
55-
: path.join(os.tmpdir(), "zephyr-git-workflow-test-" + Date.now());
54+
? path.join(existingWorkspace, "west-git")
55+
: path.join(os.tmpdir(), "west-git-" + Date.now());
5656

5757
await fs.ensureDir(testWorkspaceDir);
5858

src/test/workspace-out-of-tree.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ suite("Workspace Out Of Tree Test Suite", () => {
5454
const existingWorkspace =
5555
vscode.workspace.workspaceFolders?.[0]?.uri.fsPath;
5656
testWorkspaceDir = existingWorkspace
57-
? path.join(existingWorkspace, "workspace-out-of-tree-test")
58-
: path.join(os.tmpdir(), "workspace-out-of-tree-test-" + Date.now());
57+
? path.join(existingWorkspace, "out-tree")
58+
: path.join(os.tmpdir(), "out-tree-" + Date.now());
5959

6060
await fs.ensureDir(testWorkspaceDir);
6161

src/test/zephyr-ide-git-workspace.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ suite("Zephyr IDE Git Workspace Test Suite", () => {
5353
const existingWorkspace =
5454
vscode.workspace.workspaceFolders?.[0]?.uri.fsPath;
5555
testWorkspaceDir = existingWorkspace
56-
? path.join(existingWorkspace, "zephyr-ide-git-workspace-test")
57-
: path.join(os.tmpdir(), "zephyr-ide-git-workspace-test-" + Date.now());
56+
? path.join(existingWorkspace, "ide-spc")
57+
: path.join(os.tmpdir(), "ide-spc-" + Date.now());
5858

5959
await fs.ensureDir(testWorkspaceDir);
6060

0 commit comments

Comments
 (0)