Skip to content

Not initialize function parameter stubs value [BUG] #462

@ladisgin

Description

@ladisgin

Description
There are hundreds of error messages in the UTBot log. Looks like the problem is in the concrete executor.

To Reproduce

  1. Generate tests for function vowel_consonant from c-example/lib/stubs/stubs.c
  2. Run tests
  3. See that tests fail

Expected behavior
Tests are supposed to be pass.

Actual behavior
Tests generated without fill vowel_consonant_vowel_symbolic array for stubs call value.

Visual proofs (screenshots, logs)

TEST(regression, vowel_consonant_test_1)
{
    int actual = vowel_consonant('c', _vowel_consonant_vowel_stub);
    EXPECT_EQ(1, actual);
}

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