Adding log.gd
This commit is contained in:
parent
eb32d6614e
commit
4522259397
547 changed files with 46844 additions and 0 deletions
19
addons/gdUnit4/runtest.sh
Normal file
19
addons/gdUnit4/runtest.sh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -z "$GODOT_BIN" ]; then
|
||||
GODOT_BIN=$(which godot)
|
||||
fi
|
||||
|
||||
if [ -z "$GODOT_BIN" ]; then
|
||||
echo "'GODOT_BIN' is not set."
|
||||
echo "Please set the environment variable 'export GODOT_BIN=/Applications/Godot.app/Contents/MacOS/Godot'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
"$GODOT_BIN" --path . -s -d res://addons/gdUnit4/bin/GdUnitCmdTool.gd $*
|
||||
exit_code=$?
|
||||
echo "Run tests ends with $exit_code"
|
||||
|
||||
"$GODOT_BIN" --headless --path . --quiet -s -d res://addons/gdUnit4/bin/GdUnitCopyLog.gd $* > /dev/null
|
||||
exit_code2=$?
|
||||
exit $exit_code
|
||||
Loading…
Add table
Add a link
Reference in a new issue