Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: validator
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (25 sloc) 0.681 kb
#include "settings.h"
#include <map>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <boost/lexical_cast.hpp>
#include <cppunit/ui/text/TestRunner.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include "xscript/config.h"
#include "xscript/logger.h"
#ifdef HAVE_DMALLOC_H
#include <dmalloc.h>
#endif
int
main(int argc, char *argv[]) {
try {
CppUnit::TextUi::TestRunner r;
r.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
return r.run("", false) ? EXIT_SUCCESS : EXIT_FAILURE;
}
catch (const std::exception &e) {
std::cerr << e.what() << std::endl;
return EXIT_FAILURE;
}
}
Jump to Line
Something went wrong with that request. Please try again.