Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 980 Bytes

README.md

File metadata and controls

47 lines (30 loc) · 980 Bytes

Moulitest

This repository contains tests for several projects done at 42.

Tested 42 projects:

  • libft
  • get_next_line
  • ft_ls
  • ft_printf
  • libftasm

Feedbacks, github issues and pull requests are welcome.

Quick Start

Create the config file

cp config.ini.template config.ini

Edit the config file

vim config.ini # add your configs

Run tests

make

Advanced use

Run only some tests

make ft_ls PATTERN=<regexp>
# e.g. To run only the tests starting with "05" you can use
make ft_ls PATTERN=^05

Notes

GNL

  • If the tests stop in the middle, it could mean that your get_next_line is waiting for an input from the file descriptor but nothing is coming.

Credits

The test framework and some libft tests are based on the work done by mbacoux. Thanks to all contributors.