<?xml version="1.0" encoding="utf-8"?>
<Peach xmlns="http://phed.org/2008/Peach" xmlns:xsi="http://ab2K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4N6%4N6#2)9J5k6i4M7K6i4K6u0W2L8%4u0Y4i4K6u0r3x3U0l9H3x3g2)9J5c8W2S2y4e0q4y4U0K9r3g2E0j5g2)9J5k6r3W2F1M7%4c8S2L8X3y4W2"
xsi:schemaLocation="http://phed.org/2008/Peach ../peach.xsd" version="1.0"
author="Michael Eddington">
<!--
Example of the WindowsDebugger monitor. This example will launch a
program with an attached debugger and log stack traces on faults. The
included example program will fault on test 47.
Syntax:
python peach.py -a
python peach.py samples\Debugger.xml
Output:
You will see the tests scroll along. Once test 47 has occured you can check
the c:\peach\logfiles folder for a log of this test that will include a Debugger.txt
faul output.
Authors:
Michael Eddington (mike@phed.org)
$Id: Debugger.xml 807 2008-03-25 08:34:38Z meddingt $
-->
<!-- Import defaults for Peach instance -->
<Include ns="default" src="file:defaults.xml" />
<DataModel name="TestTemplate">
<String name="TheString" value="Hello World!" />
</DataModel>
<StateModel name="State" initialState="Initial">
<State name="Initial">
<Action name="SendValue1" type="output">
<DataModel ref="TestTemplate" />
</Action>
</State>
</StateModel>
<Agent name="LocalAgent" location="http://127.0.0.1:9000">
<Monitor class="debugger.UnixDebugger">
<Param name="Command"
value="samples/UnixCrashServer/unixcrash" />
<Param name="Params" value="" />
</Monitor>
</Agent>
<Test name="TheTest">
<Agent ref="LocalAgent" />
<StateModel ref="State"/>
<Publisher class="tcp.Tcp">
<Param name="host" value="127.0.0.1" />
<Param name="port" value="4242" />
</Publisher>
</Test>
<Run name="DefaultRun">
<Test ref="TheTest" />
<Logger class="logger.Filesystem">
<Param name="path" value="logtest" />
</Logger>
</Run>
</Peach>
dependencies目录下的文件我也都编译了呀……
unixcrash一旦崩溃了之后 就不会重新启动了? who can tell me why?