diff options
author | hjk <hjk121@nokiamail.com> | 2013-10-21 13:49:18 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-10-21 14:43:01 +0200 |
commit | bec053528e48f6bea6c553632333f664f1ce5d37 (patch) | |
tree | f336318c6977ce209b5bc8fb301805478f221b7f | |
parent | 3eac8daba92d5aa34a52e0b0ff09c295b8a5d681 (diff) |
Debugger: Add a README on how to handle the dumper auto tests
Change-Id: Ic14ab793369fd5fb5649dac6518152bcbfa5ac29
Reviewed-by: hjk <hjk121@nokiamail.com>
-rw-r--r-- | tests/auto/debugger/README.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/auto/debugger/README.txt b/tests/auto/debugger/README.txt new file mode 100644 index 0000000000..7e1a7702d5 --- /dev/null +++ b/tests/auto/debugger/README.txt @@ -0,0 +1,41 @@ + +The important test here is tst_dumpers. + +The same build can be used to check the dumpers under different +conditions by using environment variables as follows: + + QTC_DEBUGGER_PATH_FOR_TEST - path to a GDB or LLDB binary + + QTC_QMAKE_PATH_FOR_TEST - path to a Qt version + + QTC_USE_GLIBCXXDEBUG_FOR_TEST - (0/1) to switch between GCC's + "normal" standard library, and the "debug" version + (this will add DEFINES += _GLIBCXX_DEBUG) to the .pro + + (QTC_MSVC_ENV_BAT - to set up MSVC) + + +The tests should be used for automated testing, but can also +be used for dumper development and fixing. + +Combinations that should always succeed are: + + GDB (>=7.4), Linux (32/64), Python (2/3), Qt (4/5) - debug. + +Partially work should: + + Qt (4/5) - release + LLDB (Mac) + + +By default, only successful tests are cleaned up (use +QTC_KEEP_TEMP_FOR_TEST to override). + +Failing tests leave a qt_tst_dumpers_XXXXXX directory behind, +with a 'doit.pro' which can be directly opened in Creator. +There's always a 'main.cpp' file, containing at least one +call to a function 'breakHere()'. Put a break point there, +and hit F5. + +The file 'input.txt' contains the commands sent to GDB +in case something needs to be examined with the CLI debugger. |