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

UTBot auto target fails #557

Closed
Lana243 opened this issue Nov 30, 2022 · 0 comments · Fixed by #561
Closed

UTBot auto target fails #557

Lana243 opened this issue Nov 30, 2022 · 0 comments · Fixed by #561
Assignees
Labels
bug Something isn't working verified Bug fix is verified

Comments

@Lana243
Copy link
Collaborator

Lana243 commented Nov 30, 2022

Description
When trying to generate tests with UTBot auto target, generation fails.

To Reproduce
Steps to reproduce the behavior:

  1. Configure and run UTBot.
  2. Try to generate test for file UTBotCpp/server/test/suites/stub/lib/literals/foo.c inside project UTBotCpp/server/test/suites/stub with auto target enabled.
  3. See error message:
compile_commands.json doesn't contain a command for source file /home/utbot/UTBotCpp-deploy/server/test/suites/stub/lib/literals/foo.c
  1. Then choose exe target.
  2. Run generation again.
  3. See successfully generated tests.

Expected behavior
Tests are supposed to be generated with auto target enabled.

Actual behavior
Tests are not generated with auto target enabled.

Environment
UTBot main branch (commit)

@Lana243 Lana243 added the bug Something isn't working label Nov 30, 2022
@korifey korifey moved this to Todo in UTBot C/C++ Nov 30, 2022
@Lana243 Lana243 self-assigned this Dec 5, 2022
@Lana243 Lana243 linked a pull request Dec 5, 2022 that will close this issue
Repository owner moved this from Todo to Done in UTBot C/C++ Dec 14, 2022
@tyuldashev tyuldashev added the verified Bug fix is verified label Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working verified Bug fix is verified
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants