makefile verändert
This commit is contained in:
parent
5ee0f97dc6
commit
44434a8c67
2
makefile
2
makefile
@ -36,7 +36,7 @@ $(program_obj_filesobj_files): %.o: %.c
|
||||
# Unit Tests
|
||||
# --------------------------
|
||||
unitTestsStack: stack.o test_stack.c $(unityfolder)/unity.c
|
||||
$(CC) $(FLAGS) $^ -o $@ $(unityfolder)/unity.c
|
||||
$(CC) $(FLAGS) -I$(unityfolder) $^ -o $@
|
||||
|
||||
|
||||
# --------------------------
|
||||
|
||||
@ -39,7 +39,7 @@ void test_push_and_top(void)
|
||||
|
||||
TEST_ASSERT_EQUAL_INT(30, *(int*)top(stack));
|
||||
|
||||
clearStack(&stack);
|
||||
clearStack(stack);
|
||||
TEST_ASSERT_NULL(stack);
|
||||
}
|
||||
|
||||
@ -72,7 +72,7 @@ void test_clearStack(void)
|
||||
stack = push(stack, &x);
|
||||
stack = push(stack, &y);
|
||||
|
||||
clearStack(&stack);
|
||||
clearStack(stack);
|
||||
|
||||
TEST_ASSERT_NULL(stack);
|
||||
}
|
||||
BIN
unitTestsStack.exe
Normal file
BIN
unitTestsStack.exe
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user