I assume you have installed gleam
on your system.
$ gleam test
Execute it on the command line with an argument for the number of days:
$ gleam run -- --days=30
Compare the output to stdout.gr for validation. There are instructions in the TextTest Readme for setting up TextTest.