error test
This commit is contained in:
@@ -16,7 +16,7 @@ test:
|
||||
echo "Compiling all test files into $(TESTBIN)..."; \
|
||||
$(CC) $(CFLAGS) _allocator_impl.c $$files -o $(TESTBIN) $(LDFLAGS) || exit 1; \
|
||||
echo "Running tests..."; \
|
||||
valgrind --trace-children=yes $(TESTBIN); \
|
||||
valgrind --trace-children=yes --error-exitcode=1 $(TESTBIN); \
|
||||
fi
|
||||
|
||||
|
||||
|
||||
@@ -23,4 +23,5 @@ Test(macro_magic, default_values) {
|
||||
cr_assert_eq(a1.is_true, true);
|
||||
cr_assert_eq(a2.is_true, true);
|
||||
cr_assert_eq(a3.is_true, false);
|
||||
malloc(100);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user