Skip to content

Commit f544261

Browse files
committed
Test: Fix integration test sources detection
The new poky version has changed the sources directory from `issue` to `sources/issue`.
1 parent 8857d4b commit f544261

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integration-tests/src/tests/bitbake-commands.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ suite('Bitbake Commands Test Suite', () => {
2727
test('Bitbake can run a task', async () => {
2828
await vscode.commands.executeCommand('bitbake.run-task', 'base-files', 'unpack')
2929
await assertWillComeTrue(async () => {
30-
const files = await vscode.workspace.findFiles('build/tmp/work/*/base-files/*/issue')
30+
const files = await vscode.workspace.findFiles('build/tmp/work/*/base-files/*/sources/issue')
3131
return files.length === 1
3232
})
3333
}).timeout(BITBAKE_TIMEOUT)

integration-tests/src/tests/command-wrapper.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ suite('Bitbake Command Wrapper', () => {
5656
test('Bitbake can run a task inside a crops container', async () => {
5757
await vscode.commands.executeCommand('bitbake.run-task', 'base-files', 'unpack')
5858
await assertWillComeTrue(async () => {
59-
const files = await vscode.workspace.findFiles('build-crops/tmp/work/*/base-files/*/issue')
59+
const files = await vscode.workspace.findFiles('build-crops/tmp/work/*/base-files/*/sources/issue')
6060
return files.length === 1
6161
})
6262
}).timeout(BITBAKE_TIMEOUT)

0 commit comments

Comments
 (0)