Fixed default 'all' target; fixed format warnings in test suite
This commit is contained in:
parent
4543b091cb
commit
1789cbf0ca
2 changed files with 3 additions and 1 deletions
|
|
@ -6,6 +6,8 @@ CFLAGS += -DINCLUDE_TESTS
|
|||
|
||||
.SUFFIX:
|
||||
|
||||
.DEFAULT_GOAL:=all
|
||||
|
||||
%.a:
|
||||
-rm -f $@
|
||||
ar crv $@ $^
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
typeof (n1) _n1 = (n1); \
|
||||
typeof (n2) _n2 = (n2); \
|
||||
if (!(_n1 op _n2)) { \
|
||||
g_test_message("Check failed: (%s): (%d %s %d)", \
|
||||
g_test_message("Check failed: (%s): (%lld %s %d)", \
|
||||
#n1 " " #op " " #n2, \
|
||||
_n1, #op, _n2); \
|
||||
g_test_fail(); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue