forked from nemomobile-graveyard/meegotouch-systemui
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
László Pere
committed
Jun 14, 2010
1 parent
ba15faa
commit fbd8539
Showing
48 changed files
with
127 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#! /bin/sh | ||
|
||
LCOV=`which lcov` | ||
|
||
if test "x$LCOV" = x; then | ||
echo "You need to install lcov to get actual reports!"; | ||
echo "See http://ltp.sf.net/coverage/lcov.php"; | ||
echo "!!! ATTENTION !!!" | ||
echo "The current lcov-1.8 contains some silly bug."; | ||
echo "Please, use a newer one or the cvs version." | ||
exit 1; | ||
fi | ||
|
||
if test "x$SBOX_USE_CCACHE" = xyes; then | ||
export SBOX_USE_CCACHE=no | ||
fi | ||
|
||
rm -fr ./coverage/* | ||
|
||
echo "qmake BUILD_FEATURES=coverage" | ||
qmake BUILD_FEATURES=coverage | ||
|
||
echo "make coverage" | ||
make clean | ||
make coverage | ||
|
||
ls -lh ./coverage/index.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
TEMPLATE = subdirs | ||
|
||
SUBDIRS = src \ | ||
translations \ | ||
translations \ | ||
themes \ | ||
demos \ | ||
demos \ | ||
tests | ||
|
||
QMAKE_CLEAN += configure-stamp build-stamp | ||
|
||
contains(BUILD_FEATURES,coverage) { | ||
QMAKE_EXTRA_TARGETS += coverage | ||
coverage.depends = src/Makefile | ||
coverage.commands = \ | ||
cd tests && make coverage && cd .. \ | ||
&& genhtml --no-branch-coverage --legend -o coverage/ \ | ||
-t \"SystemUI Coverage Report\" \ | ||
tests/ut_*/selected.cov | ||
} | ||
|
||
include(doc/doc.pri) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# We just need an extra target so that the recursive make will pass, we don't | ||
# need to do anything else. | ||
# | ||
contains(BUILD_FEATURES,coverage) { | ||
QMAKE_EXTRA_TARGETS += coverage | ||
coverage.commands = $$system(true) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(coverage.pri) | ||
include(../mconfig.pri) | ||
|
||
MOC_DIR = .moc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
contains(BUILD_FEATURES,coverage) { | ||
QMAKE_CXXFLAGS += --coverage | ||
QMAKE_LFLAGS += --coverage | ||
QMAKE_EXTRA_TARGETS += coverage | ||
coverage.commands = \ | ||
lcov --directory . --zerocounters \ | ||
&& make check \ | ||
&& lcov --base-directory `pwd` --directory . --capture --output-file all.cov \ | ||
&& lcov --remove all.cov \"*debug.cpp\" --output-file tmp.cov \ | ||
&& lcov --extract tmp.cov \"*src*.cpp\" --output-file selected.cov | ||
} | ||
|
||
QMAKE_CLEAN += .tmp*gcov ./.tmp/*.gcda ./.tmp/*.gcno *.cov | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_batterybusinesslogic | ||
|
||
|
1 change: 1 addition & 0 deletions
1
tests/ut_batterybusinesslogicadaptor/ut_batterybusinesslogicadaptor.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_clock | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_clockview | ||
|
||
|
1 change: 1 addition & 0 deletions
1
tests/ut_dbusinterfacenotificationsource/ut_dbusinterfacenotificationsource.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/ut_lockscreenbusinesslogic/ut_lockscreenbusinesslogic.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_lockscreenbusinesslogic | ||
|
||
|
1 change: 1 addition & 0 deletions
1
tests/ut_lockscreenbusinesslogicadaptor/ut_lockscreenbusinesslogicadaptor.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_lockscreenui | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_lowbatterynotifier | ||
|
||
|
1 change: 1 addition & 0 deletions
1
tests/ut_mcompositornotificationsink/ut_mcompositornotificationsink.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/ut_notifiernotificationsink/ut_notifiernotificationsink.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_pluginlist | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_statusindicator | ||
|
||
|
1 change: 1 addition & 0 deletions
1
tests/ut_statusindicatoranimationview/ut_statusindicatoranimationview.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_statusindicatoranimationview | ||
|
||
|
1 change: 1 addition & 0 deletions
1
tests/ut_statusindicatoriconview/ut_statusindicatoriconview.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_statusindicatoriconview | ||
|
||
|
1 change: 1 addition & 0 deletions
1
tests/ut_statusindicatorlabelview/ut_statusindicatorlabelview.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_statusindicatorlabelview | ||
|
||
|
1 change: 1 addition & 0 deletions
1
tests/ut_statusindicatormenuadaptor/ut_statusindicatormenuadaptor.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_statusindicatormenuadaptor | ||
|
||
|
1 change: 1 addition & 0 deletions
1
tests/ut_statusindicatormenuwindow/ut_statusindicatormenuwindow.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_template | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
|
||
TARGET = ut_unlockmissedevents | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
|
||
TARGET = ut_unlocknotificationsink | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
|
||
SRC_PREFIX = ../../src | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_usbui | ||
INCLUDEPATH += $$SRCDIR | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include(../coverage.pri) | ||
include(../common_top.pri) | ||
TARGET = ut_volumebarlogic | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters