diff --git a/tests/main.cpp b/tests/main.cpp index 6becc7c3..9242ec53 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -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; } diff --git a/tests/tests-last-passed-at.txt b/tests/tests-last-passed-at.txt index fde0c2e8..f3aceffd 100644 --- a/tests/tests-last-passed-at.txt +++ b/tests/tests-last-passed-at.txt @@ -1,4 +1,4 @@ Tests finished. 72 tests of 72 passed. Compiled as DEBUG -Test suite pass at GMT Thu Sep 15 20:10:06 2022 +Test suite pass at GMT Sat Sep 24 13:51:42 2022