Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions _test/check-exercises.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ for exercise in exercises/*/tests; do
[ -d src ] || mkdir src
cp example.rs src/lib.rs

# Overwrite empty Cargo.toml if an example specific file exists
if [ -f Cargo-example.toml ]; then
cp Cargo-example.toml Cargo.toml
fi

# Forcibly strip all "ignore" statements from the testing files
for test in tests/*.rs; do
sed -i '/\[ignore\]/d' $test
Expand Down