mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-30 23:30:27 +02:00
Add comment when running tests on Linux how to see results
Thanks @juozas for mentioning this (https://irrlicht.sourceforge.io/forum/viewtopic.php?p=306758#p306758) git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6426 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@ -246,7 +246,10 @@ int main(int argumentCount, char * arguments[])
|
||||
#ifdef _IRR_WINDOWS_
|
||||
(void)system("tests.log");
|
||||
#else
|
||||
(void)system("$PAGER tests.log");
|
||||
if ( getenv("PAGER") )
|
||||
(void)system("$PAGER tests.log");
|
||||
else
|
||||
printf("See tests.log for results. Or set $PAGER environment variable to show it directly.\n");
|
||||
#endif
|
||||
return fails;
|
||||
}
|
||||
|
Reference in New Issue
Block a user