mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
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:
parent
a83be9f6dd
commit
434c7f7ea2
2
.github/workflows/build-linux-gcc.yml
vendored
2
.github/workflows/build-linux-gcc.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: Linux Build 🐧
|
name: Linux Build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [development]
|
branches: [development]
|
||||||
|
|
|
||||||
2
.github/workflows/build-macos-clang.yml
vendored
2
.github/workflows/build-macos-clang.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: MacOSX Build 🍎
|
name: MacOSX Build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [development]
|
branches: [development]
|
||||||
|
|
|
||||||
2
.github/workflows/build-windows-msvc.yml
vendored
2
.github/workflows/build-windows-msvc.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: Windows Build 🟥🟩🟦🟨
|
name: Windows Build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [development]
|
branches: [development]
|
||||||
|
|
|
||||||
2
.github/workflows/test-results.yml
vendored
2
.github/workflows/test-results.yml
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
name: Report Test Results
|
name: Report Test Results
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: [Windows Build 🟥🟩🟦🟨, Linux Build 🐧, MacOSX Build 🍎]
|
workflows: [Windows Build, Linux Build, MacOSX Build]
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,9 @@ class TorqueUnitTestListener : public ::testing::EmptyTestEventListener
|
||||||
Con::printf("TestClass:%s Test:%s Failed!",
|
Con::printf("TestClass:%s Test:%s Failed!",
|
||||||
testInfo.test_case_name(), testInfo.name());
|
testInfo.test_case_name(), testInfo.name());
|
||||||
}
|
}
|
||||||
|
if (!mVerbose)
|
||||||
|
return;
|
||||||
|
|
||||||
else if(testInfo.result()->Passed())
|
else if(testInfo.result()->Passed())
|
||||||
{
|
{
|
||||||
Con::printf("TestClass:%s Test:%s Succeeded!",
|
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());
|
delete listeners.Release(listeners.default_result_printer());
|
||||||
|
|
||||||
// Add the Torque unit test listener.
|
// Add the Torque unit test listener.
|
||||||
listeners.Append(new TorqueUnitTestListener(true));
|
listeners.Append(new TorqueUnitTestListener(false));
|
||||||
|
|
||||||
// Perform googletest run.
|
// Perform googletest run.
|
||||||
Con::printf("\nUnit Tests Starting...\n");
|
Con::printf("\nUnit Tests Starting...\n");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue