Skip to content

Commit

Permalink
Test: Fix integration test sources detection
Browse files Browse the repository at this point in the history
The new poky version has changed the sources directory from `issue` to
`sources/issue`.
  • Loading branch information
deribaucourt committed Jan 8, 2025
1 parent 8857d4b commit f544261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration-tests/src/tests/bitbake-commands.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ suite('Bitbake Commands Test Suite', () => {
test('Bitbake can run a task', async () => {
await vscode.commands.executeCommand('bitbake.run-task', 'base-files', 'unpack')
await assertWillComeTrue(async () => {
const files = await vscode.workspace.findFiles('build/tmp/work/*/base-files/*/issue')
const files = await vscode.workspace.findFiles('build/tmp/work/*/base-files/*/sources/issue')
return files.length === 1
})
}).timeout(BITBAKE_TIMEOUT)
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/src/tests/command-wrapper.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ suite('Bitbake Command Wrapper', () => {
test('Bitbake can run a task inside a crops container', async () => {
await vscode.commands.executeCommand('bitbake.run-task', 'base-files', 'unpack')
await assertWillComeTrue(async () => {
const files = await vscode.workspace.findFiles('build-crops/tmp/work/*/base-files/*/issue')
const files = await vscode.workspace.findFiles('build-crops/tmp/work/*/base-files/*/sources/issue')
return files.length === 1
})
}).timeout(BITBAKE_TIMEOUT)
Expand Down

0 comments on commit f544261

Please sign in to comment.