You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"EListError: Duplicates not allowed" for two files with the same name in different locations #14
When you have two files with the same name in different locations, CodeCoverage will fail with "EListError: Duplicates not allowed" without any clear details.
Thanks for your reply. The file isn't in the project twice. We use the -uf start-up parameter to specifiy which units have to be tested. The file provided there is generated dynamically by looking for *.test.pas or something like that. One unit was moved from one folder to another, but accidentally wasn't removed from GIT, so it was in the file twice. I've attached the applicable scripts, but you'll probably have to edit them to reproduce it.
When you have two files with the same name in different locations, CodeCoverage will fail with "EListError: Duplicates not allowed" without any clear details.