From f58310913a8928aa5fc82d5ae1d51772f09f958e Mon Sep 17 00:00:00 2001 From: Samuel Hym Date: Thu, 15 Dec 2022 18:40:37 +0100 Subject: [PATCH] Allow explicit fallback to bytecode for various tests Relax the requirements for the tests, to fall back on the bytecode version when the native version is not available. Otherwise the tests will fail on bytecode-only architectures. --- tests/core/dune | 2 +- tests/data/dune | 2 +- tests/thread/dune | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/core/dune b/tests/core/dune index dfee3f21..e17dd3a6 100644 --- a/tests/core/dune +++ b/tests/core/dune @@ -1,7 +1,7 @@ (test (name t) (flags :standard -strict-sequence -warn-error -a+8 -open CCShims_) - (modes native) + (modes (best exe)) (package containers) (preprocess (action diff --git a/tests/data/dune b/tests/data/dune index 345d134d..5fe1b318 100644 --- a/tests/data/dune +++ b/tests/data/dune @@ -1,6 +1,6 @@ (test (name t) (flags :standard -strict-sequence -warn-error -a+8 -open CCShims_) - (modes native) + (modes (best exe)) (package containers-data) (libraries containers containers-data containers_testlib iter gen)) diff --git a/tests/thread/dune b/tests/thread/dune index 1a17562c..6ed2aab9 100644 --- a/tests/thread/dune +++ b/tests/thread/dune @@ -1,6 +1,6 @@ (test (name t) (flags :standard -strict-sequence -warn-error -a+8 -open CCShims_) - (modes native) + (modes (best exe)) (package containers-thread) (libraries containers containers-thread containers_testlib iter threads))