-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
Description
Description
Generation for function that calls function from another target produces no tests saying that it leads to klee internal error
To Reproduce
Steps to reproduce the behavior:
- Open the c-example project
- Choose
libsrc.atarget and setuse stubsto true - Generate tests for function
other_module_callat least two times. One of attempts will fail
Expected behavior
Tests are supposed to be generated and linked with stubs
Actual behavior
No tests are generated.
Visual proofs (screenshots, logs)
Generated test file:
/*
* This file is automatically generated by UnitTestBot. For further information see https://www.utbot.org
*/
#include "calc_dot_c_test.h"
#include "gtest/gtest.h"
namespace UTBot {
// Some tests for function 'other_module_call' were skipped, as execution of function leads KLEE to the internal error. See console log for more details.
// Tests for other_module_call were not generated. Maybe the function is too complex.
}
Logs: logs.txt
Environment
latest main or latest release 2022.10.4
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done