-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #874 from fragcolor-xyz/guus/compose-var-type-check
Guus/compose var type check
- Loading branch information
Showing
29 changed files
with
1,872 additions
and
254 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,26 @@ | ||
SHARDS=build/clang-x86_64-pc-windows-msvc/Debug/shards.exe | ||
OK_TAG_DIR=shards/tests/tag_ok | ||
ERR_TAG_DIR=shards/tests/tag_err | ||
IGNORE_TAG_DIR=shards/tests/tag_ignore | ||
mkdir -p $OK_TAG_DIR | ||
mkdir -p $ERR_TAG_DIR | ||
find shards/tests -maxdepth 1 -name "*.shs" | while read -r test; do | ||
# base=`basename "$test"` | ||
OK_TAG=$OK_TAG_DIR/${test##*/} | ||
ERR_TAG=$ERR_TAG_DIR/${test##*/} | ||
IGNORE_TAG=$IGNORE_TAG_DIR/${test##*/} | ||
if [[ -f $OK_TAG || -f $IGNORE_TAG ]]; then | ||
continue | ||
fi | ||
echo "Running $test" | ||
"$SHARDS" new "$test" 2> $ERR_TAG | ||
RESULT=$? | ||
if [[ $RESULT -eq 0 ]]; then | ||
rm -f $OK_TAG | ||
mv $ERR_TAG $OK_TAG | ||
else | ||
echo "!Test failed" | ||
fi | ||
done | ||
|
||
echo "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
Oops, something went wrong.