@@ -138,35 +138,35 @@ static void processMethod(MethodKtests &ktestChunk,
138
138
bool hasError = false ;
139
139
for (auto const &entry : fs::directory_iterator (kleeOut)) {
140
140
auto const &path = entry.path ();
141
- if (Paths::isKtestJson (path)) {
141
+ if (Paths::isKtest (path)) {
142
142
if (Paths::hasEarly (path)) {
143
143
hasTimeout = true ;
144
144
} else if (Paths::hasInternalError (path)) {
145
145
hasError = true ;
146
146
} else {
147
- std::unique_ptr<TestCase , decltype (&TestCase_free )> ktestData{
148
- TC_fromFile (path.c_str ()), TestCase_free
147
+ std::unique_ptr<KTest , decltype (&kTest_free )> ktestData{
148
+ kTest_fromFile (path.c_str ()), kTest_free
149
149
};
150
150
if (ktestData == nullptr ) {
151
- LOG_S (WARNING) << " Unable to open .ktestjson file" ;
151
+ LOG_S (WARNING) << " Unable to open .ktest file" ;
152
152
continue ;
153
153
}
154
154
const std::vector<fs::path> &errorDescriptorFiles =
155
- Paths::getErrorDescriptors (path);
155
+ Paths::getErrorDescriptors (path);
156
156
157
157
UTBotKTest::Status status = errorDescriptorFiles.empty ()
158
- ? UTBotKTest::Status::SUCCESS
159
- : UTBotKTest::Status::FAILED;
160
- std::vector<ConcretizedObject > kTestObjects (
161
- ktestData-> objects , ktestData->objects + ktestData->n_objects );
158
+ ? UTBotKTest::Status::SUCCESS
159
+ : UTBotKTest::Status::FAILED;
160
+ std::vector<KTestObject > kTestObjects (ktestData-> objects ,
161
+ ktestData->objects + ktestData->numObjects );
162
162
163
- std::vector<UTBotKTestObject> objects = CollectionUtils::transform (
164
- kTestObjects , [](const ConcretizedObject &kTestObject ) {
163
+ std::vector<UTBotKTestObject> objects =
164
+ CollectionUtils::transform ( kTestObjects , [](const KTestObject &kTestObject ) {
165
165
return UTBotKTestObject{ kTestObject };
166
166
});
167
167
168
- std::vector<std::string> errorDescriptors = CollectionUtils::transform (
169
- errorDescriptorFiles, [](const fs::path &errorFile) {
168
+ std::vector<std::string> errorDescriptors =
169
+ CollectionUtils::transform ( errorDescriptorFiles, [](const fs::path &errorFile) {
170
170
std::ifstream fileWithError (errorFile.c_str (), std::ios_base::in);
171
171
std::string content ((std::istreambuf_iterator<char >(fileWithError)),
172
172
std::istreambuf_iterator<char >());
@@ -219,18 +219,19 @@ KleeRunner::createKleeParams(const tests::TestMethod &testMethod,
219
219
" --libc=klee" ,
220
220
" --utbot" ,
221
221
" --posix-runtime" ,
222
+ " --skip-not-lazy-initialized" ,
222
223
" --type-system=CXX" ,
223
224
" --fp-runtime" ,
224
225
" --only-output-states-covering-new" ,
225
226
" --allocate-determ" ,
226
227
" --external-calls=all" ,
227
228
" --timer-interval=1000ms" ,
228
- " --bcov-check-interval=8s " ,
229
+ " --use-cov-check=instruction-based " ,
229
230
" -istats-write-interval=5s" ,
230
231
" --disable-verify" ,
231
232
" --check-div-zero=false" ,
232
233
" --check-overshift=false" ,
233
- " --skip-not-lazy-and- symbolic-pointers " ,
234
+ " --skip-not-symbolic-objects " ,
234
235
" --output-dir=" + kleeOut.string ()};
235
236
if (settingsContext.useDeterministicSearcher ) {
236
237
argvData.emplace_back (" --search=dfs" );
0 commit comments