mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 17:21:33 +00:00
unit tests cleaning
This commit is contained in:
parent
5340f2f2eb
commit
3f2859ec16
@ -337,7 +337,10 @@ unit_preallocable: test/unittests/unit_preallocable.o
|
||||
$(CC) $(CFLAGS) $(ASAN_CFLAGS) -Wl,--wrap=exit -Wl,--wrap=printf test/unittests/unit_preallocable.o -o test/unittests/unit_preallocable $(LDFLAGS) $(ASAN_LDFLAGS) -lcmocka
|
||||
./test/unittests/unit_preallocable
|
||||
|
||||
unit: unit_maybe_alloc unit_preallocable unit_list
|
||||
unit_clean:
|
||||
@rm -f ./test/unittests/unit_preallocable ./test/unittests/unit_list ./test/unittests/unit_maybe_alloc test/unittests/*.o
|
||||
|
||||
unit: unit_maybe_alloc unit_preallocable unit_list unit_clean
|
||||
|
||||
code-format:
|
||||
./.custom-format.py -i src/*.c
|
||||
|
@ -90,7 +90,7 @@ static void test_long_list(void **state) {
|
||||
LIST_FOREACH(&testlist, u32, {
|
||||
result1 += *el;
|
||||
});
|
||||
printf("removing %d\n", vals[50]);
|
||||
//printf("removing %d\n", vals[50]);
|
||||
list_remove(&testlist, &vals[50]);
|
||||
|
||||
LIST_FOREACH(&testlist, u32, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user