Commit 6d3eca0f authored by Alexandru Dura's avatar Alexandru Dura
Browse files

Add a test target

parent 02df7297
......@@ -14,5 +14,8 @@ main: $(OBJS)
clean:
rm -f *.o sh core out
test: main
python3 shell-test.py $(OUT)
shell-test: shell-test.c
$(CC) -D_DEFAULT_SOURCE -Wall $< -o $@
test: main shell-test
./shell-test `pwd`/$(OUT) -n
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment