Skip to content

UTBot auto target fails #557

Closed
Closed

Description

@Lana243

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)

Activity

  1. added
    bug
    on Nov 30, 2022
  2. moved this to Todo in UTBot C/C++on Nov 30, 2022
  3. self-assigned this
    on Dec 5, 2022
  4. Repository owner moved this from Todo to Done in UTBot C/C++on Dec 14, 2022
  5. added
    verified
    on Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugverified

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions