diff options
author | Christian Stenger <christian.stenger@qt.io> | 2016-08-12 09:06:52 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2016-09-09 05:35:23 +0000 |
commit | add34759faee47704f73aa3c9fc9d5a1c06d4362 (patch) | |
tree | 47f5684f2bb761cdd335119769b702c6f3f82d51 /src/plugins/autotest/testsettingspage.ui | |
parent | 879b77027791d11dd2534142369cf67958cd45f0 (diff) |
AutoTest: Add some (debugging-related) options
Task-number: QTCREATORBUG-16694
Change-Id: Ie2c32c7e8fd73ba351d65a510af0d4d3574c9691
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/autotest/testsettingspage.ui')
-rw-r--r-- | src/plugins/autotest/testsettingspage.ui | 232 |
1 files changed, 140 insertions, 92 deletions
diff --git a/src/plugins/autotest/testsettingspage.ui b/src/plugins/autotest/testsettingspage.ui index 4508ecd7c04..349282b889c 100644 --- a/src/plugins/autotest/testsettingspage.ui +++ b/src/plugins/autotest/testsettingspage.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>574</width> - <height>404</height> + <width>655</width> + <height>427</height> </rect> </property> <property name="windowTitle"> @@ -204,24 +204,18 @@ <item> <layout class="QVBoxLayout" name="verticalLayout_4"> <item> - <widget class="QGroupBox" name="groupBox"> + <widget class="QGroupBox" name="groupBox_5"> <property name="title"> - <string>Benchmark Metrics</string> + <string>Qt Test</string> </property> - <layout class="QVBoxLayout" name="verticalLayout_3"> + <layout class="QVBoxLayout" name="verticalLayout_8"> <item> - <widget class="QRadioButton" name="walltimeRB"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> + <widget class="QCheckBox" name="disableCrashhandlerCB"> <property name="toolTip"> - <string>Uses walltime metrics for executing benchmarks (default).</string> + <string>Enables interrupting tests on assertions.</string> </property> <property name="text"> - <string>Walltime</string> + <string>Disable crash handler while debugging</string> </property> <property name="checked"> <bool>true</bool> @@ -229,88 +223,119 @@ </widget> </item> <item> - <widget class="QRadioButton" name="tickcounterRB"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>Uses tick counter when executing benchmarks.</string> - </property> - <property name="text"> - <string>Tick counter</string> - </property> - </widget> - </item> - <item> - <widget class="QRadioButton" name="eventCounterRB"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>Uses event counter when executing benchmarks.</string> - </property> - <property name="text"> - <string>Event counter</string> - </property> - </widget> - </item> - <item> - <widget class="QRadioButton" name="callgrindRB"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>Uses Valgrind Callgrind when executing benchmarks (it must be installed).</string> - </property> - <property name="text"> - <string>Callgrind</string> - </property> - </widget> - </item> - <item> - <widget class="QRadioButton" name="perfRB"> - <property name="enabled"> - <bool>false</bool> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Benchmark Metrics</string> </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>Uses Perf when executing benchmarks (it must be installed).</string> - </property> - <property name="text"> - <string>Perf</string> + <property name="flat"> + <bool>true</bool> </property> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QRadioButton" name="walltimeRB"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Uses walltime metrics for executing benchmarks (default).</string> + </property> + <property name="text"> + <string>Walltime</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="tickcounterRB"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Uses tick counter when executing benchmarks.</string> + </property> + <property name="text"> + <string>Tick counter</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="eventCounterRB"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Uses event counter when executing benchmarks.</string> + </property> + <property name="text"> + <string>Event counter</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="callgrindRB"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Uses Valgrind Callgrind when executing benchmarks (it must be installed).</string> + </property> + <property name="text"> + <string>Callgrind</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="perfRB"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Uses Perf when executing benchmarks (it must be installed).</string> + </property> + <property name="text"> + <string>Perf</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>0</height> + </size> + </property> + </spacer> + </item> + </layout> </widget> </item> - <item> - <spacer name="horizontalSpacer"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>0</height> - </size> - </property> - </spacer> - </item> </layout> </widget> </item> @@ -439,6 +464,29 @@ </item> </layout> </item> + <item> + <widget class="QCheckBox" name="throwOnFailureCB"> + <property name="toolTip"> + <string>Turn assertion failures into C++ exceptions.</string> + </property> + <property name="text"> + <string>Throw on failure</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="breakOnFailureCB"> + <property name="toolTip"> + <string>Turn failures into debugger breakpoints.</string> + </property> + <property name="text"> + <string>Break on failure while debugging</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> </layout> </widget> </item> |