test report

-check to see if emojis are messing with triggering the test reporters
-remove success spam from unit test output
This commit is contained in:
marauder2k7 2023-07-26 15:49:58 +01:00
parent a83be9f6dd
commit 434c7f7ea2
5 changed files with 8 additions and 5 deletions

View file

@ -1,4 +1,4 @@
name: Linux Build 🐧
name: Linux Build
on:
push:
branches: [development]

View file

@ -1,4 +1,4 @@
name: MacOSX Build 🍎
name: MacOSX Build
on:
push:
branches: [development]

View file

@ -1,4 +1,4 @@
name: Windows Build 🟥🟩🟦🟨
name: Windows Build
on:
push:
branches: [development]

View file

@ -1,7 +1,7 @@
name: Report Test Results
on:
workflow_run:
workflows: [Windows Build 🟥🟩🟦🟨, Linux Build 🐧, MacOSX Build 🍎]
workflows: [Windows Build, Linux Build, MacOSX Build]
types:
- completed

View file

@ -72,6 +72,9 @@ class TorqueUnitTestListener : public ::testing::EmptyTestEventListener
Con::printf("TestClass:%s Test:%s Failed!",
testInfo.test_case_name(), testInfo.name());
}
if (!mVerbose)
return;
else if(testInfo.result()->Passed())
{
Con::printf("TestClass:%s Test:%s Succeeded!",
@ -269,7 +272,7 @@ DefineEngineFunction(runAllUnitTests, int, (const char* testSpecs, const char* r
delete listeners.Release(listeners.default_result_printer());
// Add the Torque unit test listener.
listeners.Append(new TorqueUnitTestListener(true));
listeners.Append(new TorqueUnitTestListener(false));
// Perform googletest run.
Con::printf("\nUnit Tests Starting...\n");