-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/sh | ||
|
||
set -x | ||
set -e | ||
|
||
# We rely on layout-dependent casts, which should be covered with #[repr(transparent)] | ||
# This should catch if we missed that | ||
RUSTFLAGS="-Zrandomize-layout" | ||
|
||
# General tests | ||
cargo miri test -v --no-default-features | ||
cargo miri test -v -p ndarray -p ndarray-rand --lib --tests | ||
|
||
# BLAS tests | ||
cargo miri test -p ndarray --lib -v --features blas | ||
cargo miri test -p blas-mock-tests -v | ||
cargo miri test -p blas-tests -v --features blas-tests/openblas-system | ||
cargo miri test -p numeric-tests -v --features numeric-tests/test_blas | ||
|
||
# Examples | ||
cargo miri test --examples |