1From 3cbef2195533f357c8a80c2840108662461273b7 Mon Sep 17 00:00:00 2001 2From: Lionel Orry <lionel.orry@gmail.com> 3Date: Wed, 27 Mar 2013 14:48:19 +0100 4Subject: [PATCH 4/4] Do not run tests. 5 6This patch is specific to cross-compiled environments and avoids running 7the tests on the host. It is not meant to be applied upstream. 8 9Signed-off-by: Lionel Orry <lionel.orry@gmail.com> 10--- 11 Makefile | 2 +- 12 tools/m2sh/Makefile | 2 +- 13 2 files changed, 2 insertions(+), 2 deletions(-) 14 15diff --git a/Makefile b/Makefile 16index 7dc4089..ca72630 100644 17--- a/Makefile 18+++ b/Makefile 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}" 22 23-all: bin/mongrel2 tests m2sh procer 24+all: bin/mongrel2 m2sh procer filters config_modules 25 26 dev: CFLAGS=-g -Wall -Isrc -Wall -Wextra $(OPTFLAGS) -D_FILE_OFFSET_BITS=64 27 dev: all 28diff --git a/tools/m2sh/Makefile b/tools/m2sh/Makefile 29index 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}) 35 36-all: ../lemon/lemon tests build/m2sh 37+all: ../lemon/lemon build/m2sh 38 39 dev: CFLAGS=-g -Wall -Wextra -Isrc -I../../src $(OPTFLAGS) 40 dev: all 41-- 421.8.1.4 43 44