Added master test and removed debug output from client_types.C

svn path=/trunk/boinc/; revision=210
This commit is contained in:
Michael Gary 2002-07-17 18:33:37 +00:00
parent 97e0f65173
commit 5d867625c9
2 changed files with 38 additions and 1 deletions

View File

@ -283,7 +283,6 @@ int FILE_INFO::parse(FILE* in, bool from_server) {
}
else if (match_tag(buf, "<file_signature>")) {
dup_element_contents(in, "</file_signature>", &file_signature);
fprintf(stderr, "file_signature %s being copied\n", file_signature);
continue;
}
else if (parse_str(buf, "<md5_cksum>", md5_cksum)) continue;

38
test/test_suite.php Normal file
View File

@ -0,0 +1,38 @@
#! /usr/local/bin/php
<?php
//Run the comprehensive suite of tests
//
PassThru("test_api.php", $retval);
if($retval) printf("test_api.php did not run correctly\n");
//PassThru("test_dynamic.php", $retval);
//if($retval) printf("test_dynamic.php did not run correctly\n");
//PassThru("test_projects.php", $retval);
//if($retval) printf("test_projects.php did not run correctly\n");
PassThru("test_stderr.php", $retval);
if($retval) printf("test_stderr.php did not run correctly\n");
PassThru("test_uc.php", $retval);
if($retval) printf("test_uc.php did not run correctly\n");
PassThru("test_water.php", $retval);
if($retval) printf("test_water.php did not run correctly\n");
//PassThru("test_1sec.php", $retval);
//if($retval) printf("test_1sec.php did not run correctly\n");
PassThru("test_concat.php", $retval);
if($retval) printf("test_concat.php did not run correctly\n");
//PassThru("test_prefs.php", $retval);
//if($retval) printf("test_prefs.php did not run correctly\n");
PassThru("test_rsc.php", $retval);
if($retval) printf("test_rsc.php did not run correctly\n");
//PassThru("test_uc_slow.php", $retval);
//if($retval) printf("test_uc_slow.php did not run correclty\n");
?>