Fixed default 'all' target; fixed format warnings in test suite

This commit is contained in:
Meredith L. Patterson 2012-04-30 02:32:32 +01:00
parent 4543b091cb
commit 1789cbf0ca
2 changed files with 3 additions and 1 deletions

View file

@ -6,6 +6,8 @@ CFLAGS += -DINCLUDE_TESTS
.SUFFIX:
.DEFAULT_GOAL:=all
%.a:
-rm -f $@
ar crv $@ $^

View file

@ -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(); \