Skip to content

[BUG] UTBot server dies on specific project with custom build script #490

@tyuldashev

Description

@tyuldashev

Description

To Reproduce
Steps to reproduce the behavior:

  1. Clone https://github.com/libbpf/libbpf project
  2. Unpack and add attached utbot_build.sh to the root of the project utbot_build.zip
  3. Unpack and replace Makefile from src with attached one
    Makefile.zip
  4. Configure UTbot so it successfully configures on the project
  5. Try to generate tests for any 'C' file in src folder

Expected behavior
Tests are generated.

Actual behavior
Generation fails with an error
image

Server process exited without any logs.

Additional information
I've added utbot_build.sh file which enters src folder and starts make.
Also Makefile was modified, so it outputs to build directory

Metadata

Metadata

Labels

bugSomething isn't workingverifiedBug fix is verified

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions