parent
29b041f79b
commit
2f069335ab
@ -0,0 +1,62 @@
|
|||||||
|
set(TEST_TARGET test-main-tiny)
|
||||||
|
add_test(NAME ${TEST_TARGET}
|
||||||
|
COMMAND $<TARGET_FILE:main>
|
||||||
|
-m ${PROJECT_SOURCE_DIR}/models/for-tests-ggml-tiny.bin
|
||||||
|
-f ${PROJECT_SOURCE_DIR}/samples/jfk.wav)
|
||||||
|
set_tests_properties(${TEST_TARGET} PROPERTIES LABELS "tiny;gh")
|
||||||
|
|
||||||
|
set(TEST_TARGET test-main-tiny.en)
|
||||||
|
add_test(NAME ${TEST_TARGET}
|
||||||
|
COMMAND $<TARGET_FILE:main>
|
||||||
|
-m ${PROJECT_SOURCE_DIR}/models/for-tests-ggml-tiny.en.bin
|
||||||
|
-f ${PROJECT_SOURCE_DIR}/samples/jfk.wav)
|
||||||
|
set_tests_properties(${TEST_TARGET} PROPERTIES LABELS "tiny;en;gh")
|
||||||
|
|
||||||
|
set(TEST_TARGET test-main-base)
|
||||||
|
add_test(NAME ${TEST_TARGET}
|
||||||
|
COMMAND $<TARGET_FILE:main>
|
||||||
|
-m ${PROJECT_SOURCE_DIR}/models/for-tests-ggml-base.bin
|
||||||
|
-f ${PROJECT_SOURCE_DIR}/samples/jfk.wav)
|
||||||
|
set_tests_properties(${TEST_TARGET} PROPERTIES LABELS "base")
|
||||||
|
|
||||||
|
set(TEST_TARGET test-main-base.en)
|
||||||
|
add_test(NAME ${TEST_TARGET}
|
||||||
|
COMMAND $<TARGET_FILE:main>
|
||||||
|
-m ${PROJECT_SOURCE_DIR}/models/for-tests-ggml-base.en.bin
|
||||||
|
-f ${PROJECT_SOURCE_DIR}/samples/jfk.wav)
|
||||||
|
set_tests_properties(${TEST_TARGET} PROPERTIES LABELS "base;en")
|
||||||
|
|
||||||
|
set(TEST_TARGET test-main-small)
|
||||||
|
add_test(NAME ${TEST_TARGET}
|
||||||
|
COMMAND $<TARGET_FILE:main>
|
||||||
|
-m ${PROJECT_SOURCE_DIR}/models/for-tests-ggml-small.bin
|
||||||
|
-f ${PROJECT_SOURCE_DIR}/samples/jfk.wav)
|
||||||
|
set_tests_properties(${TEST_TARGET} PROPERTIES LABELS "small")
|
||||||
|
|
||||||
|
set(TEST_TARGET test-main-small.en)
|
||||||
|
add_test(NAME ${TEST_TARGET}
|
||||||
|
COMMAND $<TARGET_FILE:main>
|
||||||
|
-m ${PROJECT_SOURCE_DIR}/models/for-tests-ggml-small.en.bin
|
||||||
|
-f ${PROJECT_SOURCE_DIR}/samples/jfk.wav)
|
||||||
|
set_tests_properties(${TEST_TARGET} PROPERTIES LABELS "small;en")
|
||||||
|
|
||||||
|
set(TEST_TARGET test-main-medium)
|
||||||
|
add_test(NAME ${TEST_TARGET}
|
||||||
|
COMMAND $<TARGET_FILE:main>
|
||||||
|
-m ${PROJECT_SOURCE_DIR}/models/for-tests-ggml-medium.bin
|
||||||
|
-f ${PROJECT_SOURCE_DIR}/samples/jfk.wav)
|
||||||
|
set_tests_properties(${TEST_TARGET} PROPERTIES LABELS "medium")
|
||||||
|
|
||||||
|
set(TEST_TARGET test-main-medium.en)
|
||||||
|
add_test(NAME ${TEST_TARGET}
|
||||||
|
COMMAND $<TARGET_FILE:main>
|
||||||
|
-m ${PROJECT_SOURCE_DIR}/models/for-tests-ggml-medium.en.bin
|
||||||
|
-f ${PROJECT_SOURCE_DIR}/samples/jfk.wav)
|
||||||
|
set_tests_properties(${TEST_TARGET} PROPERTIES LABELS "medium;en")
|
||||||
|
|
||||||
|
set(TEST_TARGET test-main-large)
|
||||||
|
add_test(NAME ${TEST_TARGET}
|
||||||
|
COMMAND $<TARGET_FILE:main>
|
||||||
|
-m ${PROJECT_SOURCE_DIR}/models/for-tests-ggml-large.bin
|
||||||
|
-f ${PROJECT_SOURCE_DIR}/samples/jfk.wav)
|
||||||
|
set_tests_properties(${TEST_TARGET} PROPERTIES LABELS "large")
|
Loading…
Reference in new issue