richelbilderbeek / djog_unos_2018

Project by the Uno's at DJOG 2018-2019: Nature Zen
GNU General Public License v3.0
6 stars 2 forks source link

The flag `--short 1` should make the game run for one tick, then close #546

Closed richelbilderbeek closed 5 years ago

richelbilderbeek commented 5 years ago

Is your feature request related to a problem? Please describe.

Currently, part of .travis.yml is this:

  # helgrind: takes long
  - if [[ $TRAVIS_BRANCH == "richel" ]]; then travis_wait 50 valgrind --tool=helgrind --log-file=helgrind.log -v ./djog_unos_2018 --short 1; cat helgrind.log; fi

or, zooming in:

valgrind --tool=helgrind --log-file=helgrind.log -v ./djog_unos_2018 --short 1

The flag --short 1 signals the game should be run for one tick, then close.

However, when Nature Zen like this, the title screen is shown, breaking the valgrind check.

Describe the solution you'd like

The flag --short 1 should make the game run for one tick, then close.

Describe alternatives you've considered

None.

Additional context

None.

richelbilderbeek commented 5 years ago

High prio, as I need it for memory checking.

richelbilderbeek commented 5 years ago

Fixed.