Spaces:
Running
Running
Revert "ci : fix and re-enable tests"
Browse filesThis reverts commit 80aefc9514262a026e013902fa3722e53181cd82.
- CMakeLists.txt +4 -4
- whisper.cpp +0 -6
CMakeLists.txt
CHANGED
|
@@ -171,8 +171,8 @@ if (WHISPER_STANDALONE)
|
|
| 171 |
endif ()
|
| 172 |
|
| 173 |
# TODO: temporary disabled
|
| 174 |
-
if (WHISPER_BUILD_TESTS)
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
endif ()
|
| 178 |
endif ()
|
|
|
|
| 171 |
endif ()
|
| 172 |
|
| 173 |
# TODO: temporary disabled
|
| 174 |
+
#if (WHISPER_BUILD_TESTS)
|
| 175 |
+
# enable_testing()
|
| 176 |
+
# add_subdirectory(tests)
|
| 177 |
+
#endif ()
|
| 178 |
endif ()
|
whisper.cpp
CHANGED
|
@@ -2477,12 +2477,6 @@ int whisper_full(
|
|
| 2477 |
}
|
| 2478 |
break;
|
| 2479 |
}
|
| 2480 |
-
|
| 2481 |
-
// TESTS: if no tensors are loaded, it means we are running tests
|
| 2482 |
-
if (ctx->model.tensors.size()) {
|
| 2483 |
-
seek_delta = 100*WHISPER_CHUNK_SIZE;
|
| 2484 |
-
break;
|
| 2485 |
-
}
|
| 2486 |
}
|
| 2487 |
|
| 2488 |
if (done) {
|
|
|
|
| 2477 |
}
|
| 2478 |
break;
|
| 2479 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2480 |
}
|
| 2481 |
|
| 2482 |
if (done) {
|