Remove the test-mode variables
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 20 Dec 2012 22:36:12 +0000 (14:36 -0800)
committerThiago Macieira <thiago.macieira@intel.com>
Sat, 29 Dec 2012 19:03:12 +0000 (20:03 +0100)
commitbe7238aa5372a72553a0ad6fef22bce3e03a8e7c
treeb556f2765a27331e3784f58c6cb451c8db1db99d
parent0c01e74470a1b467a9814fef979fe77fd3aeb0c4
Remove the test-mode variables

One of the bugs I found during development was in the code handling
the XDG data paths, which wasn't exercised during testing. So exercise
it instead.

Now the test-mode build will be exact the same as the normal code,
except that it won't actually run the target executable.

Change-Id: I829ed252836b2b581cd61c7dfab9d3061377e8f0
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
14 files changed:
src/qtchooser/main.cpp
tests/auto/qtchooser/testdata/config1/4.8.conf [deleted file]
tests/auto/qtchooser/testdata/config1/empty.conf [deleted file]
tests/auto/qtchooser/testdata/config1/qtchooser/4.8.conf [new file with mode: 0644]
tests/auto/qtchooser/testdata/config1/qtchooser/empty.conf [new file with mode: 0644]
tests/auto/qtchooser/testdata/config2/4.8.conf [deleted file]
tests/auto/qtchooser/testdata/config2/5.conf [deleted file]
tests/auto/qtchooser/testdata/config2/oneline.conf [deleted file]
tests/auto/qtchooser/testdata/config2/qtchooser/4.8.conf [new file with mode: 0644]
tests/auto/qtchooser/testdata/config2/qtchooser/5.conf [new file with mode: 0644]
tests/auto/qtchooser/testdata/config2/qtchooser/oneline.conf [new file with mode: 0644]
tests/auto/qtchooser/testdata/default/default.conf [deleted file]
tests/auto/qtchooser/testdata/default/qtchooser/default.conf [new file with mode: 0644]
tests/auto/qtchooser/tst_qtchooser.cpp