Skip to content

Available targets in VSCode plugin and CLI differs #239

@Lana243

Description

@Lana243

Steps to reproduce

  1. In VSCode open integration-tests/c-example-mini/ as project and configure it
  2. View available targets

targets

3. Try to run the following command in command line: ./utbot generate --project-path path-to-c-example-mini project --target path-to-c-example-mini/build/src/libsrc.a 5. See logs

Logs

2022-05-19 14:18:59.202 (   0.022s) [UnitTestBot     ]    GenerationUtils.cpp:69    WARN| Couldn't find appropriate target. List of available targets:

2022-05-19 14:18:59.202 (   0.022s) [UnitTestBot     ]    GenerationUtils.cpp:71    WARN| "/home/utbot/UTBotCpp/integration-tests/c-example-mini/build/c-example-mini"

2022-05-19 14:18:59.202 (   0.022s) [UnitTestBot     ]    GenerationUtils.cpp:73    WARN| 

2022-05-19 14:18:59.202 (   0.022s) [UnitTestBot     ]      GenerationUtils.h:72     ERR| Couldn't find appropriate target

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions