Skip to content

Commit

Permalink
MAINT: Rename directories for misc and tests in the root
Browse files Browse the repository at this point in the history
Reorganize the repo a bit by just renaming.

We have a bunch of subdirectories for tests, name them all xtest- (for
package-external test) so that they line up in directory listing. The
images we keep around for docs we put in the directory misc/.
  • Loading branch information
bluss committed Mar 22, 2021
1 parent 4e8f636 commit 5c6ff77
Show file tree
Hide file tree
Showing 14 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ matrixmultiply-threading = ["matrixmultiply/threading"]
debug = true

[workspace]
members = ["ndarray-rand", "serialization-tests", "blas-tests"]
exclude = ["numeric-tests"]
members = ["ndarray-rand", "xtest-serialization", "xtest-blas"]
exclude = ["xtest-numeric"]

[package.metadata.release]
no-dev-version = true
Expand Down
File renamed without changes
File renamed without changes
6 changes: 3 additions & 3 deletions scripts/all-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ cargo build --verbose --features "$FEATURES"
cargo test --verbose --features "$FEATURES"
cargo test --manifest-path=ndarray-rand/Cargo.toml --no-default-features --verbose
cargo test --manifest-path=ndarray-rand/Cargo.toml --features quickcheck --verbose
cargo test --manifest-path=serialization-tests/Cargo.toml --verbose
cargo test --manifest-path=blas-tests/Cargo.toml --verbose
cargo test --manifest-path=xtest-serialization/Cargo.toml --verbose
cargo test --manifest-path=xtest-blas/Cargo.toml --verbose
cargo test --examples
CARGO_TARGET_DIR=target/ cargo test --manifest-path=numeric-tests/Cargo.toml --verbose
CARGO_TARGET_DIR=target/ cargo test --manifest-path=xtest-numeric/Cargo.toml --verbose
([ "$CHANNEL" != "nightly" ] || cargo bench --no-run --verbose --features "$FEATURES")
4 changes: 2 additions & 2 deletions scripts/cross-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ TARGET=$3
cross build -v --features="$FEATURES" --target=$TARGET
cross test -v --no-fail-fast --features="$FEATURES" --target=$TARGET
cross test -v --no-fail-fast --target=$TARGET --manifest-path=ndarray-rand/Cargo.toml --features quickcheck
cross test -v --no-fail-fast --target=$TARGET --manifest-path=serialization-tests/Cargo.toml --verbose
CARGO_TARGET_DIR=target/ cross test -v --no-fail-fast --target=$TARGET --manifest-path=numeric-tests/Cargo.toml
cross test -v --no-fail-fast --target=$TARGET --manifest-path=xtest-serialization/Cargo.toml --verbose
CARGO_TARGET_DIR=target/ cross test -v --no-fail-fast --target=$TARGET --manifest-path=xtest-numeric/Cargo.toml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5c6ff77

Please sign in to comment.