diff options
author | Jo Asplin <jo.asplin@nokia.com> | 2011-06-30 11:34:36 (GMT) |
---|---|---|
committer | Jo Asplin <jo.asplin@nokia.com> | 2011-06-30 11:56:39 (GMT) |
commit | 60cb54825f272547071d516ff8bd2d451b211147 (patch) | |
tree | 6dca73b452b0b2088529a2db9ed51e100d4ee382 /tools/macdeployqt | |
parent | da68cb3ef67f8cb83e568ae94cc8272247c3f548 (diff) | |
download | Qt-60cb54825f272547071d516ff8bd2d451b211147.zip Qt-60cb54825f272547071d516ff8bd2d451b211147.tar.gz Qt-60cb54825f272547071d516ff8bd2d451b211147.tar.bz2 |
Add test case name and drop parentheses for -datatags option.
For completeness, the -datatags command-line option in QTestLib
now prints the test case name at the start of each output line.
NOTE: Although the file name is supposed to match the
lower-case version of the test case name, this is currently
not true in all cases (particularly not under tests/benchmarks).
Even if there was a script to enforce this convention,
the -datatags option now provides this information in a reliable way.
This patch also drops the parentheses after the test function
as these are always empty anyway.
Data tags for each test function (f() in this case) are printed in
four different ways depending on the presence of local and global
data tags:
Case 1: No tags:
tst_MyTestCase f
Case 2: Local tags only:
tst_MyTestCase f local tag 1
tst_MyTestCase f local tag 2
...
Case 3: Global tags only:
tst_MyTestCase f __global__ global tag 1
tst_MyTestCase f __global__ global tag 2
...
Case 4: Local and global tags:
tst_MyTestCase f local tag 1 __global__ global tag 1
tst_MyTestCase f local tag 2 __global__ global tag 1
...
tst_MyTestCase f local tag 1 __global__ global tag 2
tst_MyTestCase f local tag 2 __global__ global tag 2
...
...
Change-Id: Id9273039a5d33527c32abf6eb1baef80193fa585
Reviewed-by: Rohan McGovern
Diffstat (limited to 'tools/macdeployqt')
0 files changed, 0 insertions, 0 deletions