feat(testsuite): autotools working, testsuite and debug implemented and working
This commit is contained in:
parent
e80058a765
commit
e7b24d0ed6
4 changed files with 125 additions and 63 deletions
26
README.md
26
README.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue