Skip to content

Commit

Permalink
Chore: Add fixtures for error files
Browse files Browse the repository at this point in the history
  • Loading branch information
WilsonZiweiWang committed Jan 29, 2024
1 parent f2a3b9e commit 9174fd9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# When .vscode/tasks.json has the following entry:
# {
# "tasks": [
# {
# "type":"bitbake",
# "recipes": ["base-files"],
# }
# ]
# }

#ERROR: Task ([file-path]:do_install) failed with exit code '1'
do_install:append () {
bbfatal should crash
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# ERROR: Variable BB_ENV_EXTRAWHITE has been renamed to BB_ENV_PASSTHROUGH_ADDITIONS (file: [file-path] line: [line-number])
BB_ENV_EXTRAWHITE = "deprecated var"
4 changes: 3 additions & 1 deletion integration-tests/src/tests/bitbake-parse.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ suite('Bitbake Parsing Test Suite', () => {
'recipes-error/error/compilation-python-function.bb',
'recipes-error/error/execution-python-function.bb',
'recipes-error/error/unable-to-parse.bb',
'recipes-error/error/unparsed-line.bb'
'recipes-error/error/unparsed-line.bb',
'recipes-error/error/task-error.bb',
'recipes-error/error/variable-error.bb'
]

const workspacePath: string = workspaceURI.fsPath
Expand Down

0 comments on commit 9174fd9

Please sign in to comment.