Made the Unit test stuff a bit more mwcc/mwld friendly. It still doesn't build right out of the box with our build system, but with a few changes to the build system it can be done (I'm not going to do that, though).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6640 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "UnitTesterHelper.h"
|
||||
#include <SemaphoreSyncObject.h>
|
||||
#include <Directory.h>
|
||||
@@ -23,16 +25,16 @@ int main(int argc, char *argv[]) {
|
||||
return result;
|
||||
}
|
||||
|
||||
//const std::string UnitTesterShell::defaultLibDir = "./lib";
|
||||
//const string UnitTesterShell::defaultLibDir = "./lib";
|
||||
|
||||
UnitTesterShell::UnitTesterShell(const std::string &description, SyncObject *syncObject)
|
||||
UnitTesterShell::UnitTesterShell(const string &description, SyncObject *syncObject)
|
||||
: BTestShell(description, syncObject)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
UnitTesterShell::PrintDescription(int argc, char *argv[]) {
|
||||
std::string AppName = argv[0];
|
||||
string AppName = argv[0];
|
||||
cout << endl;
|
||||
cout << "This program is the central testing framework for the purpose" << endl;
|
||||
cout << "of testing and verifying the various kits, classes, functions," << endl;
|
||||
|
||||
Reference in New Issue
Block a user