check (357B)
1 #!/usr/bin/env bash 2 3 set -e 4 set -u 5 6 run_yarn_suite() { 7 tyarn -E -e "PATH=$PATH" -l tests/shell_lib -s "$(which bash)" \ 8 "tests/$1.yarn" \ 9 tests/implementations.yarn 10 } 11 12 run_yarn_suite mksparse 13 14 if [[ $(uname) != "Linux" ]] 15 then 16 echo "Non-linux platform detected... skipping sparsemap tests!" 1>&2 17 else 18 run_yarn_suite sparsemap 19 fi