Now working for simple, non-encrypted requests
making requests to something like example.com over a non-encrypted connection now works. Binary files are unlikely to work at the moment although I haven't tried. Also, non-encrypted doesn't work. I have also changed a little about how tests work. Requests tests now display much better.
This commit is contained in:
parent
a91a264a7a
commit
8a5bfe9b36
18 changed files with 725 additions and 148 deletions
6
Makefile
6
Makefile
|
@ -6,7 +6,7 @@ TESTFILES = $(wildcard tests/*.c)
|
|||
TESTOUT = $(TESTFILES:.c=)
|
||||
OUT = yaip
|
||||
CFLAGS = -Wall -g
|
||||
LDLIBS = -lsqlite3
|
||||
LDLIBS = -lsqlite3 -lm
|
||||
CC = gcc
|
||||
|
||||
|
||||
|
@ -24,8 +24,8 @@ $(OUT): $(OBJFILES)
|
|||
%.o: %.c
|
||||
$(CC) $(CFLAGS) -c -o $@ $^
|
||||
|
||||
tests/%.test: tests/%.test.c tests/munit/munit.c
|
||||
$(CC) $? -o $@
|
||||
tests/%.test: tests/%.test.c tests/munit/munit.c $(filter-out src/main.o, $(OBJFILES))
|
||||
$(CC) -o $@ $^ $(LDLIBS)
|
||||
|
||||
|
||||
test-%: tests/%.test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue