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