Skip to content

Commit c23cd54

Browse files
committed
Migrate to a full rust-based comprehensive float testing.
This also does not require a Python install for the testing process and is much faster. Related to rust-lang/rust#127510 Closes #176
1 parent 3005bd8 commit c23cd54

32 files changed

+2961
-757
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Cargo.lock
77
*.pyc
88
TODO.md
99
*.diff
10+
!/lexical-parse-float/etc/correctness/Cargo.lock
1011

1112
# Perftools
1213
perf.data

ci/comprehensive.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ run_tests --all-features
3838

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

0 commit comments

Comments
 (0)