From d27699d97a446d372bceb83a5599262ce002bd96 Mon Sep 17 00:00:00 2001 From: Warwick Stone Date: Wed, 17 Jul 2013 23:27:25 +1000 Subject: [PATCH] Updated examples * Updated example 2 readme * Broke up huge line in example 2 makefile --- examples/example_2/makefile | 11 ++++++++++- examples/example_2/readme.txt | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/examples/example_2/makefile b/examples/example_2/makefile index f5b6399..994c7a5 100644 --- a/examples/example_2/makefile +++ b/examples/example_2/makefile @@ -13,7 +13,16 @@ else TARGET_EXTENSION=.out endif 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 SYMBOLS= diff --git a/examples/example_2/readme.txt b/examples/example_2/readme.txt index eeaa477..f0fce65 100644 --- a/examples/example_2/readme.txt +++ b/examples/example_2/readme.txt @@ -2,4 +2,4 @@ Example 2 ========= Same as the first example, but now using Unity's test fixture to group tests -together. \ No newline at end of file +together. Using the test fixture also makes writing test runners much easier. \ No newline at end of file