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

Not initialize function parameter stubs value [BUG] #462

Closed
ladisgin opened this issue Sep 15, 2022 · 0 comments · Fixed by #565
Closed

Not initialize function parameter stubs value [BUG] #462

ladisgin opened this issue Sep 15, 2022 · 0 comments · Fixed by #565
Assignees
Labels
bug Something isn't working

Comments

@ladisgin
Copy link
Member

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);
}
@ladisgin ladisgin added the bug Something isn't working label Sep 15, 2022
@korifey korifey moved this to Todo in UTBot C/C++ Sep 15, 2022
@Lana243 Lana243 assigned Lana243 and unassigned sava-cska Oct 24, 2022
@Lana243 Lana243 moved this from Todo to In Progress in UTBot C/C++ Oct 24, 2022
@Lana243 Lana243 linked a pull request Dec 21, 2022 that will close this issue
Repository owner moved this from In Progress to Done in UTBot C/C++ Dec 23, 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
Projects
Status: Done
3 participants