Skip to content

Commit

Permalink
Migrate to a full rust-based comprehensive float testing.
Browse files Browse the repository at this point in the history
This also does not require a Python install for the testing process and
is much faster.

Related to rust-lang/rust#127510

Closes #176
  • Loading branch information
Alexhuszagh committed Nov 2, 2024
1 parent 3005bd8 commit c23cd54
Show file tree
Hide file tree
Showing 32 changed files with 2,961 additions and 757 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Cargo.lock
*.pyc
TODO.md
*.diff
!/lexical-parse-float/etc/correctness/Cargo.lock

# Perftools
perf.data
Expand Down
8 changes: 4 additions & 4 deletions ci/comprehensive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ run_tests --all-features

cd "${home}"
if [ ! -z "${EXHAUSTIVE}" ]; then
if [ -z "${PYTHON}" ]; then
PYTHON=python
fi
$PYTHON "${home}/lexical-parse-float/etc/correctness/test-parse-random/runtests.py"
# Test the parse-float correctness tests
cd "${home}"
cd lexical-parse-float/etc/correctness
cargo run "${@}" --release --bin test-parse-random
fi
Loading

0 comments on commit c23cd54

Please sign in to comment.