Skip to content

Commit d609a41

Browse files
committed
README: clarifications on how to use the tester
1 parent 65c63d1 commit d609a41

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

README.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ bash tester.sh [m vm ne d b a] {b, builtins, pa, parsing, r, redirections, pi, p
9090
---
9191

9292
# How To Install and Run
93-
9493
To install the script, copy and run following command:
9594

9695
```
@@ -109,6 +108,47 @@ mstest
109108

110109
---
111110

111+
# How To Launch The Tester
112+
113+
Do this if not using the `mstest` alias:
114+
* Clone it to the root of your minishell
115+
* cd to the tester's folder
116+
117+
## Options
118+
Of course if using the `mstest` alias,
119+
use that instead of `bash tester.sh`.
120+
So a command should look like this:
121+
`mstest help` or `mstest m` and etc.
122+
123+
When using the `mstest` alias, you don't
124+
need to cd to the tester's folder.
125+
126+
Some options are not shown here,
127+
run the help command to see them!
128+
129+
Print all options:
130+
```bash
131+
bash tester.sh help
132+
```
133+
Mandatory tests:
134+
```bash
135+
bash tester.sh m
136+
```
137+
Mandatory tests (with valgrind):
138+
```bash
139+
bash tester.sh vm
140+
```
141+
Tests for bonus from PDF:
142+
```bash
143+
bash tester.sh b
144+
```
145+
Tests both mandatory and bonus:
146+
```bash
147+
bash tester.sh a
148+
```
149+
150+
---
151+
112152
# Updates
113153
Tests without environment now are updated, separated and can be run with:
114154

0 commit comments

Comments
 (0)