File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1- LDFLAGS =-lcheck -lm -pthread -lrt -lsubunit
1+ LDFLAGS =-lcheck -lm -pthread
2+
3+ UNAME_S := $(shell uname -s)
4+ ifneq ($(UNAME_S ) ,Darwin)
5+ LDFLAGS+=-lrt -lsubunit
6+ endif
7+
28CFLAGS =-I../../src -I../../include
39
410all : unit-parser
Original file line number Diff line number Diff line change 1+ # Unit Test Tools
2+
3+ This uses the "check" unit test framework for C.
4+
5+ You may need to run "apt install check", "yum install check" or "brew install check".
6+
7+ ## Building
8+
9+ Use ` make ` to build.
10+
11+ ## Expected output
12+
13+ ``` sh
14+ $ ./unit-parser
15+ Running suite(s): wolfBoot
16+ Explicit end of options reached
17+ This field is too large (bigger than the space available in the current header)
18+ This field is too large and would overflow the image header
19+ Illegal address (too high)
20+ Illegal address (too high)
21+ 100%: Checks: 2, Failures: 0, Errors: 0
22+ ```
You can’t perform that action at this time.
0 commit comments