Fixes: Unit test project files.
[ptas] / zouba / tests / ut_location / ut_location.pro
index 8d8ba3c..9a3fdc0 100644 (file)
@@ -1,20 +1,38 @@
+include( ../tests.pri )
 CONFIG += \
   qt \
   debug \
+  mobility \
+
+MOBILITY = \
+   location \
+   bearer \
 
 QT += \
   testlib \
+  network \
+  maemo5 \
 
 INCLUDEPATH += \
-  ../.. \
+  $$ZOUBASRC \
+
+DEPENDPATH += $$INCLUDEPATH
+
+LIBS += \
+   /usr/lib/libQtLocation.so \
 
 TEMPLATE = app
 
 SOURCES  = \
   ut_location.cpp \
-  ../../location_p.cpp \
+  $$ZOUBASRC/location.cpp \
+  $$ZOUBASRC/location_p.cpp \
 
 HEADERS += \
   ut_location.h \
-  ../../location_p.h \
+  $$ZOUBASRC/location.h \
+  $$ZOUBASRC/location_p.h \
 
+QMAKE_EXTRA_TARGETS += check
+check.depends = $$TARGET
+check.commands = ./$$TARGET