• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2# Run a small subset of our comprehensive test suite.
3
4set -ex
5
6# Print our cargo version, for debugging.
7cargo --version
8
9# Change to our project home.
10script_dir=`dirname "${BASH_SOURCE[0]}"`
11script_home=`realpath "$script_dir"`
12cd "$script_home"/..
13
14FEATURES=
15if [ ! -z $ALL_FEATURES ]; then
16    FEATURES=--all-features
17fi
18
19# Test the parse-float correctness tests
20cd etc/correctness
21cargo run $FEATURES --release --bin test-parse-golang
22cargo run $FEATURES --release --bin test-parse-unittests
23