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

github.com/marian-nmt/marian-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2020-07-26 22:12:04 +0300
committerRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2020-07-26 22:12:04 +0300
commit7b8f6ee5b6ff7779fd993df7f77adf1e2d9adbe5 (patch)
tree95980be1df228dfc5549412b0fa8df6d2cf36070
parent22ea945dd7e2aec7490199dc10f5eac7b08cd996 (diff)
Fix test
-rw-r--r--tests/interface/cli/.gitignore1
-rw-r--r--tests/interface/cli/test_cli_paths_with_equals.sh4
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/interface/cli/.gitignore b/tests/interface/cli/.gitignore
index db74516..c8b2740 100644
--- a/tests/interface/cli/.gitignore
+++ b/tests/interface/cli/.gitignore
@@ -1 +1,2 @@
config*.yml
+tmpdir
diff --git a/tests/interface/cli/test_cli_paths_with_equals.sh b/tests/interface/cli/test_cli_paths_with_equals.sh
index b19745f..3abec0a 100644
--- a/tests/interface/cli/test_cli_paths_with_equals.sh
+++ b/tests/interface/cli/test_cli_paths_with_equals.sh
@@ -5,6 +5,10 @@ set -e
rm -rf config_paths.yml
+# Create temporary mockup files otherwise marian-decoder will complain instead generating a config file
+mkdir -p tmpdir
+touch tmpdir/model.npz tmpdir/vocab.yml
+
# 'input' and 'models' are vector-like options with single values only
$MRT_MARIAN/marian-decoder \
--input=tmpdir/input.txt \