boinc/doc/test.html

64 lines
1.7 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html lang="en">
<head>
<title>Test Applications and Scripts</title>
<meta name="generator" content="BBEdit 6.1.2">
</head>
<body>
<h2>Test Applications and Scripts</h2>
<p>
The <b>apps</b> directory contains the following test applications:
</p>
<ul>
<li>
<b>concat</b>: concatenates its input files. Input and output
filenames are passed on the command line.
</li>
<li>
<b>upper_case</b>: reads from stdin, converts to upper case,
writes to stdout.
</li>
<li>
<b>uc_slow</b>: like upper_case, but processes only one
character per second. Checkpoints every 5 characters. Restartable.
</li>
</ul>
The <b>test</b> directory contains PHP scripts, together with XML
templates and sample input files, for initializing and testing the
entire system:
<ul>
<li>
<b>test_uc.php</b>: tests I/O connection using descriptors.
</li>
<li>
<b>test_concat.php</b>: tests I/O connection using command-line
args and filenames.
</li>
<li>
<b>test_uc_slow.php</b>: tests checkpoint/restart. You have to
run the client yourself, kill and restart it a few times.
</li>
<li>
<b>test_prefs.php</b>: tests some aspects of preferences.
</li>
<li>
<b>test_api.php</b>: tests to ensure the api is working
properly.
</li>
<li>
<b>test_water.php</b>: tests some aspects of water marks.
</li>
<li>
<b>test_rsc.php</b>: tests that scheduling server only sends
feasable work units.
</li>
</ul>
<p>
These scripts use functions defined in the PHP include file
<b>init.inc</b>. You can use these functions to easily write test
scripts for your own applications.
</p>
</body>
</html>