/grug-tests

Primary LanguageAssemblyMIT LicenseMIT

grug tests

This is the test suite of my programming language called grug.

Running

  1. Clone this repository and cd into it.
  2. Run git submodule update --init to clone the grug.c and grug.h files (for your own game you can just drop these files directly into your project).
  3. Run the tests with ./tests.sh.

Check the terminal or the generated results directory in tests to inspect any errors.

Troubleshooting

If you're using a Debian-based distribution like Ubuntu 22.04, you might need to run sudo sysctl vm.mmap_rnd_bits=28 to fix address sanitizer, which tests.sh uses. See this GitHub thread for context.

If the tests don't pass, try running OLD_LD= ./tests.sh.

Dependencies

tests.sh requires and has been tested with:

More information

See the development.md file in this repository.