[lit] Fix handling of various keyword parse errorsIn TestRunner.py, D78589 extracts a `_parseKeywords` function from`parseIntegratedTestScript`, which then expects `_parseKeywords` toalways retur
[lit] Fix handling of various keyword parse errorsIn TestRunner.py, D78589 extracts a `_parseKeywords` function from`parseIntegratedTestScript`, which then expects `_parseKeywords` toalways return a list of keyword/value pairs. However, the extractedcode sometimes returns an unresolved `lit.Test.Result` on a keywordparsing error, which then produces a stack dump instead of theexpected diagnostic.This patch fixes that, makes the style of those diagnostics moreconsistent, and extends the lit test suite to cover them.Reviewed By: ldionneDifferential Revision: https://reviews.llvm.org/D81665
show more ...