[
https://issues.apache.org/jira/browse/DAFFODIL-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17742584#comment-17742584
]
Olabusayo Kilo commented on DAFFODIL-541:
-----------------------------------------
[~mbeckerle] What do we want to do about the tests like
"TestSDE.test_schema_line_number()" which checks for the specific file, line
number and column number? After updating the code to strip everything after and
including the "Location" in Schema context, the following also failed. They are
checking for specifically the locations in the filenames
TestNamespaces.test_errorLocations_01
TestNamespaces.test_long_chain_05
> TDML Runner needs to restrict text used for error comparison
> ------------------------------------------------------------
>
> Key: DAFFODIL-541
> URL: https://issues.apache.org/jira/browse/DAFFODIL-541
> Project: Daffodil
> Issue Type: Bug
> Components: Infrastructure, TDML Runner, Usability
> Reporter: Jessie Chab
> Assignee: Olabusayo Kilo
> Priority: Minor
>
> Currently the TDML runner's comparison feature for errors uses the entire
> backtrace information. So if your test is looking for an error that contains
> "lengthKind", but your test filename is "lengthKind.tdml", it will match and
> the test will erroneously pass. As Mike mentioned in our e-mail chain, the
> TDML runner "should remove all the file-name things, leaving only the actual
> error message content."
--
This message was sent by Atlassian Jira
(v8.20.10#820010)