Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ginkgo build reports "Compiled path/suite1/test.test" for each suite #1510

Open
rjacobs31 opened this issue Jan 21, 2025 · 0 comments
Open

Comments

@rjacobs31
Copy link

The command being run

ginkgo build path/suite1/ path/suite2/ path/suite3/

Expected output

Compiled path/suite1/test.test
Compiled path/suite2/test.test
Compiled path/suite3/test.test

Actual output

Compiled path/suite1/test.test
Compiled path/suite1/test.test
Compiled path/suite1/test.test

Probable cause

Code in ginkgo/build/build_command.go is setting goFlagsConfig.O on the first completed suite, then re-using that same value when reporting each subsequent suite which was compiled.

It is likely that this does not occur when -o outputdir/ is passed to ginkgo build.

I am more than willing to code a fix, since it does not seem complicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant