mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-02-06 19:09:12 +00:00
ci : fix and re-enable tests
This commit is contained in:
parent
5698b51718
commit
80aefc9514
@ -171,8 +171,8 @@ if (WHISPER_STANDALONE)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# TODO: temporary disabled
|
# TODO: temporary disabled
|
||||||
#if (WHISPER_BUILD_TESTS)
|
if (WHISPER_BUILD_TESTS)
|
||||||
# enable_testing()
|
enable_testing()
|
||||||
# add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
#endif ()
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
|
@ -2477,6 +2477,12 @@ int whisper_full(
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TESTS: if no tensors are loaded, it means we are running tests
|
||||||
|
if (ctx->model.tensors.size()) {
|
||||||
|
seek_delta = 100*WHISPER_CHUNK_SIZE;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (done) {
|
if (done) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user