From eb4411a8875c9d70268d57e3a0ee8b5137115296 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 1 Jan 2014 19:55:13 +0000 Subject: Return errors in pubkey tests --- src/build-data/makefile/nmake.in | 4 +--- src/build-data/makefile/unix.in | 6 ++---- src/build-data/makefile/unix_shr.in | 7 ++----- 3 files changed, 5 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/build-data/makefile/nmake.in b/src/build-data/makefile/nmake.in index 1b6a33773..c14a58d1d 100644 --- a/src/build-data/makefile/nmake.in +++ b/src/build-data/makefile/nmake.in @@ -46,7 +46,7 @@ LIBRARIES = $(BOTAN_LIB) # This will be either a static lib or the DLL import lib BOTAN_LIB = $(LIBNAME).%{static_suffix} -all: $(LIBRARIES) +all: $(TEST) ### Build Commands %{lib_build_cmds} @@ -54,8 +54,6 @@ all: $(LIBRARIES) %{test_build_cmds} ### Link Commands -check: $(TEST) - $(TEST): $(LIBRARIES) $(TESTOBJS) $(CXX) /Fe$@ $(TESTOBJS) $(BOTAN_LIB) $(LINK_TO) diff --git a/src/build-data/makefile/unix.in b/src/build-data/makefile/unix.in index 4eda9d5c9..1f8eaac2d 100644 --- a/src/build-data/makefile/unix.in +++ b/src/build-data/makefile/unix.in @@ -41,15 +41,15 @@ RM = @rm -f RM_R = @rm -rf # Targets +TEST = %{test_prefix}test LIBRARIES = $(STATIC_LIB) LIBNAME = %{lib_prefix}libbotan STATIC_LIB = $(LIBNAME)-$(SERIES).a -all: $(LIBRARIES) +all: $(TEST) # File Lists -TEST = %{test_prefix}test HEADERS = %{include_files} @@ -63,8 +63,6 @@ TESTOBJS = %{test_objs} %{test_build_cmds} # Link Commands -check: $(TEST) - $(TEST): $(LIBRARIES) $(TESTOBJS) $(CXX) $(TESTOBJS) $(STATIC_LIB) $(LINK_TO) -o $(TEST) diff --git a/src/build-data/makefile/unix_shr.in b/src/build-data/makefile/unix_shr.in index ea37fb835..986767fcb 100644 --- a/src/build-data/makefile/unix_shr.in +++ b/src/build-data/makefile/unix_shr.in @@ -43,6 +43,7 @@ RM = @rm -f RM_R = @rm -rf # Targets +TEST = %{test_prefix}test LIBRARIES = $(STATIC_LIB) $(SHARED_LIB) LIBNAME = %{lib_prefix}libbotan @@ -53,11 +54,9 @@ SHARED_LIB = $(SONAME).%{version_patch} SYMLINK = $(LIBNAME)-$(SERIES).%{so_suffix} -all: $(LIBRARIES) +all: $(TEST) # File Lists -TEST = %{test_prefix}test - HEADERS = %{include_files} LIBOBJS = %{lib_objs} @@ -70,8 +69,6 @@ TESTOBJS = %{test_objs} %{test_build_cmds} # Link Commands -check: $(TEST) - $(TEST): $(LIBRARIES) $(TESTOBJS) $(CXX) $(LDFLAGS) $(TESTOBJS) $(SHARED_LIB) $(LINK_TO) -lboost_regex -o $(TEST) -- cgit v1.2.3