From 88de4c2c90ffc46ddc0183e33c6d2c55f6a7ebd4 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 11 May 2015 01:21:32 +0200 Subject: [PATCH] Workaround the inclusion of system headers in tests At this point the tests are still completely broken before installing the necessary plug-ins in the system. They can finally run in this case though, so this is definitely an improvement. --- tests/System/App.h | 1 + tests/project.conf | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 tests/System/App.h diff --git a/tests/System/App.h b/tests/System/App.h new file mode 100644 index 0000000..bdfe8d4 --- /dev/null +++ b/tests/System/App.h @@ -0,0 +1 @@ +#include "../../include/App.h" diff --git a/tests/project.conf b/tests/project.conf index 29957bc..68e00d6 100644 --- a/tests/project.conf +++ b/tests/project.conf @@ -1,10 +1,10 @@ targets=Dummy.h,appclient,appmessage,appserver,includes,lookup,tests.log,transport -cppflags_force=-I ../include +cppflags_force=-I ../include -isystem . cflags_force=-W `pkg-config --cflags libSystem` cflags=-Wall -g -O2 ldflags_force=`pkg-config --libs libSystem` -lApp ldflags=-L../src -Wl,-rpath,../src -rdynamic -dist=Makefile,tests.sh +dist=System/App.h,Makefile,tests.sh [Dummy.h] type=script