File: README

package info (click to toggle)
verdigris 1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,464 kB
  • sloc: cpp: 21,467; ansic: 2,065; makefile: 8
file content (36 lines) | stat: -rw-r--r-- 1,047 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
The tests here are modified version of the test within Qt.

The branch `tests_from_qt` contains the tests from Qt as is and is updated
and merged into master.

Here is the method used to update the tests:

```
 export QTBASE=~/path/to/qt/sources/qtbase

 git checkout tests_from_qt
 
 # remove the previous tests, and replace it by the newer test from Qt
 rm -r qmetamethod qmetaproperty qmetaobject qobject qmetaenum
 cp -r $QTBASE/tests/auto/corelib/kernel/qmetamethod .
 cp -r $QTBASE/tests/auto/corelib/kernel/qmetaproperty .
 cp -r $QTBASE/tests/auto/corelib/kernel/qmetaobject .
 cp -r $QTBASE/tests/auto/corelib/kernel/qobject .
 cp -r $QTBASE/tests/auto/corelib/kernel/qmetaenum .

 # check if you need to add files maybe?
 git status

 git commit -a
 
 git checkout master 
 git merge tests_from_qt
 # Fix conflicts and adapt to verdigris
```

The tests are still supposed to work with older Qt version, so tests that test Qt behavior
should be wrapped with `#if QT_VERSION >= QT_VERSION_CHECK(5, X, 0)` or be skipped
with old version