mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-26 01:41:35 +01:00
- restored examples to working condition
- restored makefiles to working condition - updated files to include copyright notice - fixed bug in string array comparisons - ignored tests no longer run teardown - tests failing for uncaught cexceptions now get exception id reported git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@70 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
11
makefile
11
makefile
@@ -1,3 +1,9 @@
|
||||
# ==========================================
|
||||
# Unity Project - A Test Framework for C
|
||||
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
||||
# [Released under MIT License. Please refer to license.txt for details]
|
||||
# ==========================================
|
||||
|
||||
C_COMPILER=gcc
|
||||
TARGET_BASE = testunity
|
||||
ifeq ($(OS),Windows_NT)
|
||||
@@ -7,7 +13,7 @@ else
|
||||
endif
|
||||
TARGET = $(TARGET_BASE)$(TARGET_EXTENSION)
|
||||
OUT_FILE=-o $(TARGET)
|
||||
SRC_FILES=src/unity.c test/testunity.c test/testunity_Runner.c
|
||||
SRC_FILES=src/unity.c test/testunity.c build/testunity_Runner.c
|
||||
INC_DIRS=-Isrc
|
||||
SYMBOLS=-DTEST
|
||||
|
||||
@@ -20,7 +26,8 @@ endif
|
||||
all: clean default
|
||||
|
||||
default:
|
||||
$(C_COMPILER) $(INC_DIRS) $(SYMBOLS) $(SRC_FILES) $(OUT_FILE)$(OUT_EXTENSION)
|
||||
ruby auto/generate_test_runner.rb test/testunity.c build/testunity_Runner.c
|
||||
$(C_COMPILER) $(INC_DIRS) $(SYMBOLS) $(SRC_FILES) $(OUT_FILE)
|
||||
$(TARGET)
|
||||
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user