Commit 276d0039 authored by hybrid's avatar hybrid

Now also passes under Linux. Also call a pager on the text file under non-windows systems.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2165 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 3735b530
......@@ -153,7 +153,11 @@ int main(int argumentCount, char * arguments[])
}
}
closeTestLog();
#ifdef _IRR_WINDOWS_
(void)system("tests.log");
#else
(void)system("more tests.log");
#endif
}
return fails;
......
Test suite pass at GMT Wed Jan 28 23:32:27 2009
Test suite pass at GMT Thu Jan 29 09:25:13 2009
......@@ -53,6 +53,7 @@ bool writeImageToFile(void)
const u32 BUFFER_SIZE = 160 * 120 * 4;
c8 * buffer = 0;
const char * referenceFilename = 0;
video::ECOLOR_FORMAT format;
irr::video::IImage * screenshot = driver->createScreenShot();
if(!screenshot)
......@@ -62,7 +63,7 @@ bool writeImageToFile(void)
goto cleanup;
}
const video::ECOLOR_FORMAT format = screenshot->getColorFormat();
format = screenshot->getColorFormat();
if(format != video::ECF_R8G8B8)
{
irr::video::IImage * fixedScreenshot = driver->createImage(video::ECF_R8G8B8, screenshot);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment