⚠️ Important notes :
- Colored log format may not be supported for some tests.
- Failing this test does not necessary mean your philosopher fails to meet the requirements.
Reference: https://discord.com/channels/691903146909237289/691908977918738453/881739363719979009 (Private link for 42Tokyo students)
git clone https://github.com/mfunyu/tester_philosophers.git &&
python3 -m pip install pyparsing
── philosophers
├── Makefile
├── includes
├── srcs
└── tester_philosophers
./tester_philosophers/test.sh
$> ./tester_philosophers/test.sh help
Call test.sh with a cmd arg to exec single test
./test.sh arg: [check wrong arguments]
./test.sh time: [check chronology of timestamps]
./test.sh retval: [check return values]
./test.sh advanced: [visualize fork and check for more detailded conditions]
- add command-line arguments as the same order from
./philo
./tester_philosophers/run.sh [philo_nbs] [death_time] [eat_time] [sleep_time]