-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new test utilities, increased default BED test file length.
- New `copy_tempfile_for_inspection()` function for inspecting tempfiles that fail tests. - Added `scripts/seed_grinder.sh` which tries random seeds looking for failures.
- Loading branch information
Showing
4 changed files
with
93 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
START_SEED=1 | ||
END_SEED=10000 | ||
|
||
for SEED in $(seq $START_SEED $END_SEED); do | ||
echo "Running tests with TEST_SEED=$SEED" | ||
TEST_SEED=$SEED cargo test --test bedtools_validation | ||
if [ $? -ne 0 ]; then | ||
echo "Tests failed with TEST_SEED=$SEED" | ||
exit 1 | ||
else | ||
echo "Tests passed with TEST_SEED=$SEED" | ||
fi | ||
done | ||
|
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