-
Notifications
You must be signed in to change notification settings - Fork 14
Testing
zetok edited this page Mar 22, 2015
·
11 revisions
Resource: http://wiki.winehq.org/RegressionTesting
I've based steps below on assumption that one did read link above ↑, even though it's not about qTox.
Differences and general tips.
- Provided that you have needed dependencies all that you need to compile qTox is:
$ qmake && make
It ↑ will create qtox
binary in your qTox directory. You may want to use more than 1 thread when compiling, e.g. to use 2 threads:
$ qmake && make -j2
- For compiling with ccache, you'll need to add
QMAKE_CXX="ccache g++"
to yourqmake
command, i.e.:
$ qmake QMAKE_CXX="ccache g++"
- Before issuing
git bisect
good
/bad
, you should clear changed files. It will remove also compiled binary:
$ make clean && git checkout -f
- To prevent damaging your Tox profile / history, you may want to make qTox use temporary profile. Thus create temporary directory where it'll be stored:
$ mkdir -p /tmp/.config/tox && touch /tmp/.config/tox/profile.tox
and then make qTox use it when launching from compiled binary:
$ HOME="/tmp/" ./qtox -p profile
vruh