-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Keep records of error code and its corresponding output messages
- Loading branch information
1 parent
47126b2
commit 6faa731
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
integration-tests/project-folder/sources/meta-error/recipes-error/error/error.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,28 @@ | ||
# NOTE: | ||
# Some error lines start with 'Parsing recipes...' but sometimes these words appear on a different line than the ones with 'ERROR:' | ||
# Henc do not use '^Parsing recipes...' as part of the regex | ||
|
||
# ERROR: ParseError at [file-path]:[line-number]: unparsed line: 'undefinedvariable' | ||
undefinedvariable | ||
|
||
# ERROR: [file-path]: Error in compiling python function in [file-path], line [line-number]: | ||
# [multiline-error-info] | ||
# SyntaxError: [error-reason] ([file-name], line [line-number]) | ||
python() { | ||
garbage(code | ||
} | ||
|
||
# ERROR: [file-path]: Error executing a python function in <code>: | ||
# [multiline-error-info] | ||
# Exception: TypeError: [error-reason] | ||
python() { | ||
'2' + 2 | ||
} | ||
|
||
# WARNING: [file-path]: Error during finalise of [file-path] | ||
# ERROR: Unable to parse [file-path] | ||
# [multiline-error-info] | ||
# SyntaxError: [error-reason] | ||
python do_compile() { | ||
garbage(code | ||
} |