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.
This commit is contained in:
Pierre Pronchery 2015-05-11 01:21:32 +02:00
parent a036af85a5
commit 88de4c2c90
2 changed files with 3 additions and 2 deletions

1
tests/System/App.h Normal file
View File

@ -0,0 +1 @@
#include "../../include/App.h"

View File

@ -1,10 +1,10 @@
targets=Dummy.h,appclient,appmessage,appserver,includes,lookup,tests.log,transport 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_force=-W `pkg-config --cflags libSystem`
cflags=-Wall -g -O2 cflags=-Wall -g -O2
ldflags_force=`pkg-config --libs libSystem` -lApp ldflags_force=`pkg-config --libs libSystem` -lApp
ldflags=-L../src -Wl,-rpath,../src -rdynamic ldflags=-L../src -Wl,-rpath,../src -rdynamic
dist=Makefile,tests.sh dist=System/App.h,Makefile,tests.sh
[Dummy.h] [Dummy.h]
type=script type=script