Error: no such file or directory

Why i get the error no such file or directory when i use the --enable-test-discovery flag?

i get the error with SwiftPM only. It works correctly if using xcode build.

https://github.com/SusanDoggie/WebP