You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe you want -d and -s for debug and script. If you can get the following to print out the help, then you got it working. godot -d -s --path $PWD addons/gut/gut_cmdln.gd -gh
When working with the godot_4 branch, be sure to read the GODOT_4_README.md. I try to keep that up to date with the development. It's still in a very fragile state.
@bitwes This is weird, -d is an alias for --debug and -s is an alias for --script, but when I use -d -s it works, while with --debug --script it does not work. Is this a bug in Gut? I would prefer to use the full words --debug --script in automated scripts for increased readability.
EDIT: --debug -s works, but -d --script does not work, so it's a problem with the script argument.
I tried to get started with unit testing based on this wiki page and using the Godot 4 branch.
When I am
cd
'd into the folder with my Godot project, and I run this command:I get this output:
I tried running
echo $?
and it gives1
, so Gut is indicating an unclean exit.If I remove those options it says are unrecognized, then Gut doesn't run, it just starts my app normally.
The text was updated successfully, but these errors were encountered: