Updated readme, and updated main so you don't need to run the test program on the commandline.

This commit is contained in:
Brian 2014-02-20 12:52:11 -07:00
parent db0ac63215
commit 44608cf2c8
5 changed files with 240 additions and 229 deletions

View file

@ -1,3 +1,6 @@
#include <iostream>
#include <limits>
#include <igloo/igloo_alt.h>
using namespace igloo;
@ -8,6 +11,10 @@ using namespace igloo;
int main( int argc, const char* argv[ ] )
{
const int returnValue = TestRunner::RunAllTests( argc, const_cast< char** >( argv ) );
return TestRunner::RunAllTests( argc, const_cast< char** >( argv ) );
std::cout << std::endl << "Press ENTER to continue" << std::endl;
std::cin.ignore( std::numeric_limits< std::streamsize >::max( ), '\n' );
return returnValue;
}