run_tests.sh 420 B

12345678910111213141516171819
  1. #!/bin/sh
  2. set -e
  3. srcdir="$(dirname "$0")"
  4. [ "$(echo "$srcdir" | cut -c1)" = '/' ] || srcdir="$PWD/$srcdir"
  5. srcdir="$srcdir/.."
  6. cd "$srcdir"
  7. echo Running std tests...
  8. cargo test
  9. echo Running std/fastfloat tests...
  10. cargo test --features fastfloat
  11. echo Running no_std tests...
  12. cargo test --tests --no-default-features
  13. echo Running no_std/fastfloat tests...
  14. cargo test --tests --no-default-features --features fastfloat