Merge branch '29-fix-linker-issue' into 'master'
Link against subunit for testing. This fixes the problems in Debian stretch+. Closes #29 See merge request !26
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
image: "ruby:2.1"
|
||||
|
||||
before_script:
|
||||
- apt-get update; apt-get install -y check libev-dev net-tools dpkg-dev
|
||||
- apt-get update; apt-get install -y check libev-dev net-tools dpkg-dev libsubunit-dev
|
||||
|
||||
unit_test:
|
||||
script:
|
||||
|
2
Makefile
2
Makefile
@@ -94,7 +94,7 @@ CHECK_OBJ := $(CHECK_SRC:tests/unit/%.c=build/%.o)
|
||||
CHECK_BINS := $(CHECK_SRC:tests/unit/%.c=build/%)
|
||||
|
||||
build/check_%: build/check_%.o
|
||||
$(LINK) $^ -o $@ $(COMMON_OBJ) $(SERVER_OBJ) -lcheck
|
||||
$(LINK) $^ -o $@ $(COMMON_OBJ) $(SERVER_OBJ) -lcheck -lsubunit
|
||||
|
||||
check_objs: $(CHECK_OBJ)
|
||||
|
||||
|
Reference in New Issue
Block a user