提交 d27699d9 编写于 作者: W Warwick Stone

Updated examples

 *  Updated example 2 readme
 *  Broke up huge line in example 2 makefile
上级 efc1df82
...@@ -13,7 +13,16 @@ else ...@@ -13,7 +13,16 @@ else
TARGET_EXTENSION=.out TARGET_EXTENSION=.out
endif endif
TARGET1 = $(TARGET_BASE1)$(TARGET_EXTENSION) TARGET1 = $(TARGET_BASE1)$(TARGET_EXTENSION)
SRC_FILES1=$(UNITY_ROOT)/src/unity.c $(UNITY_ROOT)/extras/fixture/src/unity_fixture.c src/ProductionCode.c src/ProductionCode2.c test/TestProductionCode.c test/TestProductionCode2.c test/test_runners/TestProductionCode_Runner.c test/test_runners/TestProductionCode2_Runner.c test/test_runners/all_tests.c SRC_FILES1=\
$(UNITY_ROOT)/src/unity.c \
$(UNITY_ROOT)/extras/fixture/src/unity_fixture.c \
src/ProductionCode.c \
src/ProductionCode2.c \
test/TestProductionCode.c \
test/TestProductionCode2.c \
test/test_runners/TestProductionCode_Runner.c \
test/test_runners/TestProductionCode2_Runner.c \
test/test_runners/all_tests.c
INC_DIRS=-Isrc -I$(UNITY_ROOT)/src -I$(UNITY_ROOT)/extras/fixture/src INC_DIRS=-Isrc -I$(UNITY_ROOT)/src -I$(UNITY_ROOT)/extras/fixture/src
SYMBOLS= SYMBOLS=
......
...@@ -2,4 +2,4 @@ Example 2 ...@@ -2,4 +2,4 @@ Example 2
========= =========
Same as the first example, but now using Unity's test fixture to group tests Same as the first example, but now using Unity's test fixture to group tests
together. together. Using the test fixture also makes writing test runners much easier.
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册