The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / mongrel2 / 0002-Do-not-run-tests.patch
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.
5
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.
8
9 Signed-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
15 diff --git a/Makefile b/Makefile
16 index 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
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})
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 -- 
42 1.8.1.4
43