Error: no such file or directory

Why i get the error no such file or directory when i use the --enable-test-discovery flag?
https://travis-ci.com/github/SusanDoggie/WebP/builds/158168624

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