feat(testsuite): autotools working, testsuite and debug implemented and working

This commit is contained in:
matteo 2026-01-17 17:53:37 +01:00
parent e80058a765
commit e7b24d0ed6
4 changed files with 125 additions and 63 deletions

View file

@ -7,22 +7,26 @@
TODO
### Build
run this command:
`autoreconf --force --verbose --install`
### Test
run this command:
`./configure CFLAGS='-std=c99 -Werror -Wall -Wextra -Wvla'`
then:
run theses commands:
`autoreconf --force --verbose --install && ./configure`
`make`
`./src/42sh --help`
### Testing
#### asan
run this command:
`./configure CFLAGS='-std=c99 -Werror -Wall -Wextra -Wvla -g -fsanitize=address'`
then:
`make check`
#### debug (asan)
run this command:
`./src/debug`
#### testsuite
run this command:
`./src/testsuite`
## Authors
- Matteo Flebus