Skip to content

Commit

Permalink
Add callgrind tests for valgrind library.
Browse files Browse the repository at this point in the history
Merge-request: 284
Reviewed-by: hjk <[email protected]>
  • Loading branch information
MikeMcQuaid authored and hjk committed Apr 4, 2011
1 parent 86f90c4 commit d67d69e
Show file tree
Hide file tree
Showing 22 changed files with 22,657 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,5 @@ tests/valgrind/memcheck/testapps/uninit1/uninit1
tests/valgrind/memcheck/testapps/uninit2/uninit2
tests/valgrind/memcheck/testapps/uninit3/uninit3
tests/valgrind/memcheck/testrunner
tests/valgrind/callgrind/callgrindparsertests
tests/valgrind/callgrind/modeltest
13 changes: 11 additions & 2 deletions tests/valgrind/README
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# How to Compile
# HOWTO COMPILE

cd qtc-build # go to your build folder of qtc
# go to your build folder of Qt Creator
cd /path/to/qtc-build

# create and enter build directory for valgrind tests
mkdir valgrind-test
cd valgrind-test

# make library paths known to ldconfig
export LD_LIBRARY_PATH=/path/to/qtc-build/lib/qtcreator:/path/to/qtc-build/lib/qtcreator/plugins/Nokia

# run qmake, make
qmake CONFIG+=debug IDE_BUILD_TREE=$(readlink -f ..) ../../path/to/qtc/tests/valgrind
make
3 changes: 3 additions & 0 deletions tests/valgrind/callgrind/callgrind.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TEMPLATE = subdirs

SUBDIRS += callgrindparsertests.pro modeltest.pro
Loading

0 comments on commit d67d69e

Please sign in to comment.