MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / printUsage

Function printUsage

tools/checker.php:42–65  ·  view source on GitHub ↗

####################### helper functions ###############################

()

Source from the content-addressed store, hash-verified

40
41######################## helper functions ###############################
42function printUsage() {
43 print "Usage: checker.php <OpenMS src path> <OpenMS build path> [-u \"user name\"] [-t test] [options]\n";
44 print "\n";
45 print "This script works only if an OpenMS copy is used, where\n";
46 print "- the internal documentation was built (doc_internal),\n";
47 print "- the XML documentation was built (doc_xml),\n";
48 print "- all tests were executed.\n";
49 print "\n";
50 print "The user name given with the '-u' option is matched against the maintainers in the\n";
51 print "file headers. If no user name is given, the tests are performed for all users.\n";
52 print "\n";
53 print "tests:\n";
54 foreach ($GLOBALS["all_tests"] as $name => $desc)
55 {
56 print " $name -- $desc\n";
57 }
58 print "\n";
59 print "options:\n";
60 print " -x do not rebuild doxygen xml output\n";
61 print " -s comma-sparated list of tests to skip\n";
62 print " -d <level> debug mode\n";
63 print " -r report as Testing.xml for ctest submission\n";
64 print " --help shows this help\n";
65}
66
67function realOutput($text, $user, $filename) {
68 print "------> ";

Callers 1

checker.phpFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected