diff options
author | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-08-24 18:44:46 +0300 |
---|---|---|
committer | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-08-24 18:44:46 +0300 |
commit | 6a52cc51c8e761756425b6fa22289fba8589d56c (patch) | |
tree | 9d59ace6728d434928617d7f545d82d2dbe71c40 /tests/training/restoring/exp-smoothing/test_expsmooth_sync.sh | |
parent | c089ab0219e31ba0f0b69d6ba30979365e606f54 (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.sh | 5 |
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 |