Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/OpenNMT/CTranslate2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Klein <guillaume.klein@systrangroup.com>2021-06-14 16:37:07 +0300
committerGuillaume Klein <guillaume.klein@systrangroup.com>2021-06-14 16:37:07 +0300
commite455a72e4fcff54630ad3da685ca7c0448ebac1e (patch)
treeb9f1b48b43f1a2988e6a45428dff92c7380fb21c /tests
parent2e5bd662d1c2a745846b337e98889db8bfb1fcb9 (diff)
Disable test on AArch64
Diffstat (limited to 'tests')
-rw-r--r--tests/translator_test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/translator_test.cc b/tests/translator_test.cc
index 20895d72..ba0ca90f 100644
--- a/tests/translator_test.cc
+++ b/tests/translator_test.cc
@@ -744,6 +744,8 @@ TEST(TranslatorTest, SameBeamAndGreedyScore) {
EXPECT_NEAR(greedy_score, beam_score, 1e-5);
}
+#ifndef CT2_ARM64_BUILD
+
TEST(BufferedTranslationWrapperTest, Basic) {
auto translator_pool = std::make_shared<TranslatorPool>(/*num_translators=*/1,
/*num_threads_per_translator=*/2,
@@ -760,3 +762,5 @@ TEST(BufferedTranslationWrapperTest, Basic) {
EXPECT_EQ(future2.get().hypotheses[0],
(std::vector<std::string>{"a", "t", "z", "m", "o", "n"}));
}
+
+#endif