1 From 3cbef2195533f357c8a80c2840108662461273b7 Mon Sep 17 00:00:00 2001
2 From: Lionel Orry <lionel.orry@gmail.com>
3 Date: Wed, 27 Mar 2013 14:48:19 +0100
4 Subject: [PATCH 4/4] Do not run tests.
6 This patch is specific to cross-compiled environments and avoids running
7 the tests on the host. It is not meant to be applied upstream.
9 Signed-off-by: Lionel Orry <lionel.orry@gmail.com>
12 tools/m2sh/Makefile | 2 +-
13 2 files changed, 2 insertions(+), 2 deletions(-)
15 diff --git a/Makefile b/Makefile
16 index 7dc4089..ca72630 100644
19 @@ -16,7 +16,7 @@ TEST_SRC=$(wildcard tests/*_tests.c)
20 TESTS=$(patsubst %.c,%,${TEST_SRC})
21 MAKEOPTS=OPTFLAGS="${NOEXTCFLAGS} ${OPTFLAGS}" OPTLIBS="${OPTLIBS}" LIBS="${LIBS}" DESTDIR="${DESTDIR}" PREFIX="${PREFIX}"
23 -all: bin/mongrel2 tests m2sh procer
24 +all: bin/mongrel2 m2sh procer filters config_modules
26 dev: CFLAGS=-g -Wall -Isrc -Wall -Wextra $(OPTFLAGS) -D_FILE_OFFSET_BITS=64
28 diff --git a/tools/m2sh/Makefile b/tools/m2sh/Makefile
29 index b50d8a0..334e4da 100644
30 --- a/tools/m2sh/Makefile
31 +++ b/tools/m2sh/Makefile
32 @@ -9,7 +9,7 @@ TESTS=$(patsubst %.c,%,${TEST_SRC})
33 LIB_SRC=$(filter-out src/m2sh.c,${SOURCES})
34 LIB_OBJ=$(filter-out src/m2sh.o,${OBJECTS})
36 -all: ../lemon/lemon tests build/m2sh
37 +all: ../lemon/lemon build/m2sh
39 dev: CFLAGS=-g -Wall -Wextra -Isrc -I../../src $(OPTFLAGS)