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>2018-08-24 18:44:46 +0300
committerRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2018-08-24 18:44:46 +0300
commit6a52cc51c8e761756425b6fa22289fba8589d56c (patch)
tree9d59ace6728d434928617d7f545d82d2dbe71c40 /tests/training/restoring/exp-smoothing/test_expsmooth_sync.sh
parentc089ab0219e31ba0f0b69d6ba30979365e606f54 (diff)
Fix tests after changing CLI
Diffstat (limited to 'tests/training/restoring/exp-smoothing/test_expsmooth_sync.sh')
-rw-r--r--tests/training/restoring/exp-smoothing/test_expsmooth_sync.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/training/restoring/exp-smoothing/test_expsmooth_sync.sh b/tests/training/restoring/exp-smoothing/test_expsmooth_sync.sh
index ab11453..b01f72a 100644
--- a/tests/training/restoring/exp-smoothing/test_expsmooth_sync.sh
+++ b/tests/training/restoring/exp-smoothing/test_expsmooth_sync.sh
@@ -3,6 +3,11 @@
# Exit on error
set -e
+if (( $MRT_NUM_DEVICES < 2 )); then
+ echo "Too few devices available"
+ exit 100
+fi
+
# Test code goes here
rm -rf expsmooth_sync expsmooth_sync_*.log
mkdir -p expsmooth_sync