Commit Graph

24 Commits

Author SHA1 Message Date
Devin Doucette
938e209187 CompositeBuffer: Added EqualBytes to compare the contents of two composite buffers
#preflight 62869550286cf1867a059f88
#rb Zousar.Shaker

[CL 20287260 by Devin Doucette in ue5-main branch]
2022-05-19 16:45:47 -04:00
chris constantinescu
b258362e47 Catch2 3.0 preview source code integration with on-demand static library build for all platforms.
Other preflights: Catch2 Build Library 6283d1c14316db80d194f6c8, Nightly Low Level Tests 6283d1c9114e08fa2f237e6b
#preflight 6283d1b5114e08fa2f237db3

[CL 20248814 by chris constantinescu in ue5-main branch]
2022-05-17 15:06:28 -04:00
martins mozeiko
0e1e107b8f Faster AES and SHA1 implementations using architecture speciifc instructions.
On x86 uses AESNI and SHA1 instructions detected with cpuid at runtime.
On ARMv8 uses NEON crypto instructions when enabled in compiler.

#rb fabian.giesen
#preflight 6269b1abcd0dacbe0e8c69b7

[CL 19948099 by martins mozeiko in ue5-main branch]
2022-04-27 17:52:21 -04:00
chris constantinescu
28111d40fc Redundancy cleanup in UBT Low Level Tests:
- test-specific targets and modules are constructed by RulesAssembly which removes a lot of spaghetti code
- no more excluding the Tests folder by default which is guaranteed to mislead users #fyi Jon.Nabozny
- test compilation in Tests is controlled through WITH_LOW_LEVEL_TESTS
- preparation code for switching tests between Catch2 / TestAutomation Fmwk

Nightly LLT PF 6260431391376845adeb4c40

#rnx
#preflight 62602d50dd47b4ad2173c30b

[CL 19834665 by chris constantinescu in ue5-main branch]
2022-04-20 14:24:59 -04:00
chris constantinescu
e12e6c083e Un-smoke tests that were not previously filtered as Smoke by the AutomationTest framework.
#rb Devin.Doucette
#preflight skip

[CL 19668231 by chris constantinescu in ue5-main branch]
2022-04-07 09:55:58 -04:00
Devin Doucette
169a9d361d Renamed tests to match the directory structure
#preflight 62473551c51908059acd0d0d
#rb none
#rnx

[CL 19628545 by Devin Doucette in ue5-main branch]
2022-04-05 14:16:02 -04:00
Devin Doucette
07adff9b17 LowLevelTests: Reverted the Core tests that were moved in 19498448 and 19571202
#preflight 62471e0e73665f7d5e634d2d
#rb Chris.Constantinescu, Mark.Lintott
#rnx

[CL 19589944 by Devin Doucette in ue5-main branch]
2022-04-01 12:14:09 -04:00
Patrick Boutot
3d369c5b4f Remove unbalanced optimization macro
#jira UE-147844
#fyi mark.lintott
#preflight none

[CL 19587319 by Patrick Boutot in ue5-main branch]
2022-04-01 09:32:20 -04:00
mark lintott
a9305972ac Catch2 Conversion of Core Tests
#rb trival
#fyi Chris.Constantinescu
#preflight 6246cb4bc61d8a458f5bae63

[CL 19586009 by mark lintott in ue5-main branch]
2022-04-01 06:05:26 -04:00
Devin Doucette
8ddd60bc89 Partially backed out 19571202 because it stomped changes to several tests
#preflight
#rb none
#rnx

[CL 19577632 by Devin Doucette in ue5-main branch]
2022-03-31 16:03:19 -04:00
chris constantinescu
cdcaefe035 Introducing Catch2 disabled test cases, scenarios etc
Motivation: [.] only hides a test and it can still be executed using ~[SomeOtherTag]; It's very easy to fall into the trap of executing an infinite loop test that is decorated with the [.] tag
#rb Andriy.Tylychko, Michael.Balzer
#preflight 6245fb64f4217035fa8f38ec

[CL 19576763 by chris constantinescu in ue5-main branch]
2022-03-31 15:16:31 -04:00
mark lintott
bc9b168688 Add new Unit Tests
#rb Chris.Constantinescu
#preflight 62458f77292f228e09013681

[CL 19571202 by mark lintott in ue5-main branch]
2022-03-31 07:45:37 -04:00
andrew davidson
692c7957c1 Require explicit constructors/casts when converting between FVector, FVector3d, and FVector3f.
Runtime files
#jira UE-122078
#rb Andrew.Davidson, Colin.McGinley
#preflight standard build

#ushell-cherrypick of 18817999 by Fred.Kimberley
#preflight 62441346f73c316f68db20c0

#ROBOMERGE-OWNER: andrew.davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 19554852 via CL 19555052 via CL 19555055
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19561417 by andrew davidson in ue5-main branch]
2022-03-30 14:37:45 -04:00
chris constantinescu
ae281656f2 Tests converted from 18848115 made to work multi-platform.
Not all were converted because they were designed for packaged applications whereas low level tests are designed to run as "native" non-packaged applications.
- reporting support for non-desktop platforms, for the moment Catch2 report type "console" is used that is sent to a .out file
- most number of tests possible running multi platform, slower tests excluded on incremental builds
- slow tests are moved to run on the monolithic build
- Catch2 report failure event listener such that Horde detects them as build errors. Must add new Horde matcher for Catch2 failures

#rb Mark.Lintott
#preflight 623c8de389625f0612dabd64

[CL 19498448 by chris constantinescu in ue5-main branch]
2022-03-24 13:28:25 -04:00
Devin Doucette
f2d14682f1 ValueOrError: Added specializations for void value and error types
Migrated tests to Catch.

#preflight 6234a6fded772061b62816c2
#rb Steve.Robb

[CL 19465703 by Devin Doucette in ue5-main branch]
2022-03-22 09:25:41 -04:00
Devin Doucette
6759762d2b CompressedBuffer: Fixed the tests to avoid a crash depending on execution order
#preflight 622f8d87511d438d6b5bd32c
#rb Zousar.Shaker
#rnx

[CL 19376438 by Devin Doucette in ue5-main branch]
2022-03-14 15:03:48 -04:00
Devin Doucette
7d0ea0c0f8 StringBuilder: Migrated tests to Catch
#preflight 622f8a0080715dc6dad9dd90
#rb Zousar.Shaker
#rnx

[CL 19376039 by Devin Doucette in ue5-main branch]
2022-03-14 14:44:11 -04:00
Devin Doucette
006e85ab44 CompressedBuffer: Changed RawHash to FIoHash
- Only the first 20 bytes of the RawHash field in the header will be consumed.
- In a subsequent change, the last 12 bytes of the RawHash field will be set to zero for new compressed buffers.

- Leveraged composite buffers to avoid performing an extra copy of compressed blocks.
- Updated FBlockEncoder::Compress to always use ParallelFor.
- Added ParallelForWithPreWorkWithTaskContext.

#preflight 622ba3869b7ce6ea5d44b7ab
#rb Zousar.Shaker
#rnx

[CL 19360767 by Devin Doucette in ue5-main branch]
2022-03-11 16:21:11 -05:00
Devin Doucette
3c6bf2a867 Core: Migrated a few tests to Catch
#preflight 6228b6d4cc09078bab546443
#rb Zousar.Shaker
#rnx

[CL 19324283 by Devin Doucette in ue5-main branch]
2022-03-09 14:26:04 -05:00
Devin Doucette
2948a8a3ed String: Added string escaping functions under UE::String
#preflight 62283bef31133a23da6704e7
#rb Zousar.Shaker
#rnx

[CL 19319326 by Devin Doucette in ue5-main branch]
2022-03-09 08:48:44 -05:00
Devin Doucette
43e545b658 String: Added range joining functions under UE::String
#preflight 6227de1c695c94f981baa3ad
#rb Zousar.Shaker
#rnx

[CL 19314224 by Devin Doucette in ue5-main branch]
2022-03-08 19:09:39 -05:00
Devin Doucette
6645e3faf9 VarInt: Migrated tests to Catch2
#preflight 6222fd90ad5a4b4b19b9975d
#rb Zousar.Shaker
#rnx

[CL 19285612 by Devin Doucette in ue5-main branch]
2022-03-07 11:21:18 -05:00
mark lintott
dff14a25c8 Updated Low Level Tests
Removed existing SampleTest
Added an example Catch 2 Test for Math Colors into Core Module
Coverted Cbor tests to Catch2
Moved TDeque and TToken tests into Core Module
#fyi chris.constantinescu
#jira none
#preflight 61f9589e8b4112f7cc9a83c8
#preflight 61f95dbbfa6554dff3d52f21
#preflight 61f987b74404d5fadefa98d2

[CL 18812960 by mark lintott in ue5-main branch]
2022-02-01 14:39:50 -05:00
chris constantinescu
9212fef5a7 LLT 2.0 on preflights
- bIncludeAllTests flag on target will compile with all tests: used on LowLevelTests target to run on preflights
- Preflights now running low level tests by default, only those from LowLevelTests and its dependencies stemming from Core and Projects
#preflight 61f930bb8b4112f7cc95e807
#rb Mark.Lintott

[CL 18807604 by chris constantinescu in ue5-main branch]
2022-02-01 09:04:25 -05:00