source: trunk/test/jobs/coredumps/tool.xml @ 743

Last change on this file since 743 was 743, checked in by mmc, 14 years ago

Added a test so we can simulate jobs that dump core mid-way through.
Also, a few minor tweaks to bug reporting. Now reports Rappture errors
in category "Rappture" and problem-launching-job errors as "Tools".

File size: 2.8 KB
Line 
1<?xml version="1.0"?>
2<run>
3<tool>
4  <title>coredumps</title>
5  <about>Tests what happens when a tool dumps core or gets some other exceptional signal.  Should return an understandable error.
6  </about>
7  <command>
8    tclsh @tool/coredump.tcl @driver
9  </command>
10</tool>
11<input>
12  <choice id="jobtype">
13    <about>
14      <label>Job will</label>
15      <description>Determines whether the job will succeed or fail.</description>
16    </about>
17    <option>
18      <about><label>Succeed</label></about>
19      <value>succeed</value>
20    </option>
21    <option>
22      <about><label>Fail</label></about>
23      <value>fail</value>
24    </option>
25    <default>fail</default>
26  </choice>
27
28  <choice id="signal">
29    <about>
30      <label>Send signal</label>
31      <description>If the job should fail, this determines the signal that we'll send to terminate the job.</description>
32      <enable>input.(jobtype) == "fail"</enable>
33    </about>
34    <option>
35      <about>
36       <label>SIGHUP</label>
37       <description>Hangup detected on controlling terminal</description>
38      </about>
39      <value>1</value>
40    </option>
41    <option>
42      <about>
43       <label>SIGINT</label>
44       <description>Interrupt from keyboard</description>
45      </about>
46      <value>2</value>
47    </option>
48    <option>
49      <about>
50       <label>SIGQUIT</label>
51       <description>Quit from keyboard</description>
52      </about>
53      <value>3</value>
54    </option>
55    <option>
56      <about>
57       <label>SIGILL</label>
58       <description>Illegal Instruction</description>
59      </about>
60      <value>4</value>
61    </option>
62    <option>
63      <about>
64       <label>SIGABRT</label>
65       <description>Abort signal from abort()</description>
66      </about>
67      <value>6</value>
68    </option>
69    <option>
70      <about>
71       <label>SIGFPE</label>
72       <description>Floating point exception</description>
73      </about>
74      <value>8</value>
75    </option>
76    <option>
77      <about>
78       <label>SIGKILL</label>
79       <description>Kill signal</description>
80      </about>
81      <value>9</value>
82    </option>
83    <option>
84      <about>
85       <label>SIGSEGV</label>
86       <description>Invalid memory reference</description>
87      </about>
88      <value>11</value>
89    </option>
90    <option>
91      <about>
92       <label>SIGPIPE</label>
93       <description>Broken pipe: write to pipe with no readers</description>
94      </about>
95      <value>13</value>
96    </option>
97    <option>
98      <about>
99       <label>SIGALRM</label>
100       <description>Timer signal from alarm()</description>
101      </about>
102      <value>14</value>
103    </option>
104    <option>
105      <about>
106       <label>SIGTERM</label>
107       <description>Termination signal</description>
108      </about>
109      <value>15</value>
110    </option>
111    <default>11</default>
112  </choice>
113</input>
114</run>
Note: See TracBrowser for help on using the repository browser.