mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-03 03:35:37 +00:00
Honor rc in unit runs and fix execution path in make run
This commit is contained in:
parent
f55c51443d
commit
36653ebe5a
@ -10,7 +10,7 @@ $(BINDIR)/%: %.c
|
||||
$(CC) $< -o $@ $(CFLAGS) $(LDFLAGS)
|
||||
|
||||
run:
|
||||
r=0 ; for a in $(BINS) ; do ./$$a || r=1; done ; exit $r
|
||||
r=0 ; cd .. ; for a in $(BINS) ; do ./unit/$$a || r=1; done ; echo unit$$r ; exit $$r
|
||||
|
||||
clean:
|
||||
rm -f $(BINS)
|
||||
|
@ -42,7 +42,7 @@ static int strbuf_num_cmp1(void *incoming, void *in, void *user) {
|
||||
}
|
||||
|
||||
bool test_r_rbtree_cont_delete() {
|
||||
RContRBTree *tree = r_rbtree_cont_newf(r_strbuf_free);
|
||||
RContRBTree *tree = r_rbtree_cont_newf ((RContRBFree)r_strbuf_free);
|
||||
r_rbtree_cont_insert(tree, r_strbuf_new("13"), strbuf_num_cmp0, NULL);
|
||||
r_rbtree_cont_insert(tree, r_strbuf_new("0x9090"), strbuf_num_cmp0, NULL);
|
||||
r_rbtree_cont_insert(tree, r_strbuf_new("42"), strbuf_num_cmp0, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user