Commit Graph

4463 Commits

Author SHA1 Message Date
josh adams
b64cad84ae - Fixed various blocking issues with making Mac/IOS builds that can be uploaded to AppStore in Xcode
* Missing ThinApp.sh
  * Missing some quotes around a variable in GenerateUniversalDSYM.sh
  * Correctly filter out the stub .app's and such when copying the Staged data directory into the .app
  * Disabled the Mac's Sign To Run Locally option by default, as that causes Xcode's Validation/Upload to not have the team name embedded in it, causing a hassle while pushing up to AppStore/TestFlight
  * Fixed the PRODUCT_NAME for BP projects
  * Made CrashReportClient be a sandboxed app that inherits from parent
  * Fix Hybrid apps to check all platforms before in the project generator, so that if a project needs a temp target for IOS (via a plugin)
  * Disabled the LoginFlow module from OnlineFramework plugin - this was causing issues with having CEF and EpicWebHelper embedded into a sandboxed .app, and LoginFlow isn't seemingly actually used by anything
  * Set the no-encryption setting in the template Mac plist to make uploading to TestFlight/AppStore easier
  * Fixed editor to not compile as universal when using -distribution, only the client should be universal
  * Further improvements to stripping out nested .app's in a final .app (remove them from the staged directory helps)
  * Changed how the Mac app name is displayed, since the .app name itself is shown in the Finder,  unlike IOS where the CFBundleName is shown (the archived .app name in the .xcarchive is named by a project setting, falling back to the .uproject name if not set)
  * Disabled the SignExecutables function on Modern because they attempt to sign the wrong .apps, and one is no longer (previously it was uselessly signing .apps, but now it throws an error due to changes for the third item in this list)
  * Legacy Xcode mode is forced with Window's Remote Mac builds, so use the old legacy code when running under windows
  * Added a third party .cpp file to get copied to remote macs
  * Fix Tools -> Open Xcode not working with modern Xcode

#jira UE-197465

[CL 28724701 by josh adams in ue5-main branch]
2023-10-12 15:44:13 -04:00
ben marsh
a93fe81feb Match multi-line shader compilation errors as log events.
#jira

[CL 28718432 by ben marsh in ue5-main branch]
2023-10-12 13:54:33 -04:00
robert millar
ca83da36b1 [Backout] - CL28685958
[FYI] robert.millar
Original CL Desc
-----------------------------------------------------------------
Add ability for gauntlet to parse BP script callstack from error messages matching regex \[ScriptStack\]\s*.+

#rb jerome.delattre,andrew.grant

[CL 28688187 by robert millar in ue5-main branch]
2023-10-11 18:35:07 -04:00
robert millar
282ab23d55 Add ability for gauntlet to parse BP script callstack from error messages matching regex \[ScriptStack\]\s*.+
#rb jerome.delattre,andrew.grant

[CL 28686064 by robert millar in ue5-main branch]
2023-10-11 18:01:04 -04:00
marcelo gomes
9ad17edc97 Implement FullClean method in TargetDevice for all platforms
#rba

[CL 28680451 by marcelo gomes in ue5-main branch]
2023-10-11 16:18:18 -04:00
zousar shaker
31cd3b3dbf Remove use of CommandUtils.MakePathSafeToUseWithCommandLine on the executable name when performing zen snapshot exports as it makes the execution fail on Mac.
#rb none

[CL 28672186 by zousar shaker in ue5-main branch]
2023-10-11 13:44:24 -04:00
adolf stary
36753e4cb9 Fix for Gauntlet marking failed tests due to lack of devices as pass
#rb brendan.lienau
#rnx

[CL 28668338 by adolf stary in ue5-main branch]
2023-10-11 12:22:40 -04:00
zousar shaker
e95a2b2c30 Change default port for autolaunched ZenServer local service to 8558. When connecting to an existing service (not autolaunched), the default port remains what it was before, but will change in the future.
[CL 28665636 by zousar shaker in ue5-main branch]
2023-10-11 11:18:41 -04:00
ryan hummer
4d2ec0e268 Fixing ZenLaunch spawning failing on non-Windows Platforms
no need to wrap in quotes

#rnx
#rb zousar.shaker.

[CL 28646893 by ryan hummer in ue5-main branch]
2023-10-10 19:53:33 -04:00
ryan hummer
fb320d73a5 BuildGraph: Fix EnvVar lookup on non Windows platforms
Just like the Engine, swap - for _ as - is not valid on non Windows platform

#rnx
#rb ben.marsh

[CL 28646840 by ryan hummer in ue5-main branch]
2023-10-10 19:52:57 -04:00
eric knapik
8ed6842a85 Add option to support override build dir.
[REVIEW] [at]Zousar.Shaker

[CL 28639160 by eric knapik in ue5-main branch]
2023-10-10 17:19:43 -04:00
sebastian lewicki
cc1267dd63 Functionality to call VerifyLogin on devices of type IOnlineServiceLogin
#jira UE-196366
#rb chris.constantinescu, brendan.lienau

[CL 28623045 by sebastian lewicki in ue5-main branch]
2023-10-10 12:07:39 -04:00
josh adams
1abedddd2a - More fixes for Mac packaging/archiving issues
* Set the no-encryption setting in the template Mac plist to make uploading to TestFlight/AppStore easier
  * Fixed editor to not compile as universal when using -distribution, only the client should be universal
  * Further improvements to stripping out nested .app's in a final .app (remove them from the staged directory helps)
  * Changed how the Mac app name is displayed, since the .app name itself is shown in the Finder,  unlike IOS where the CFBundleName is shown (the archived .app name in the .xcarchive is named by a project setting, falling back to the .uproject name if not set)
  * Disabled the SignExecutables function on Modern because they attempt to sign the wrong .apps, and one is no longer (previously it was uselessly signing .apps, but now it throws an error due to changes for the third item in this list)
[CONSIDER5.3]
#rb calvin.zheng
#jira UE-197465

[CL 28619839 by josh adams in ue5-main branch]
2023-10-10 10:52:53 -04:00
ben woodhouse
320c928c3e ReplayRun gauntlet job - Incremental reporting for replayrun (upload CSVs as they come in) via new -incrementalReporting param
- Move log processing out of the IsTestRunning accessor and into TickTest where it should be.
- Tidy up some legacy comparison test stuff. Will remove soon

[CL 28579386 by ben woodhouse in ue5-main branch]
2023-10-09 08:59:47 -04:00
wojciech krywult
4b58f3c054 Automation: LowLevelTestRunner: Modified the test runner to deploy each test application into its own directory to avoid the risk of one test reading other tests' data.
More specifically, all low level tests were deployed into LowLevelTests directory/sandbox. It meanst that if we ran OnlineTests, which deploy .ini scripts, a subsequent run of FoundationTests would have these .ini as well, which would unintentionally affect the behavior of FoundationTests.

Now, Online will be deployed into LowLevelTests-OnlineTests and Foundation into LowLevelTests-Foundation avoiding the clash.

#rb chris.constantinescu, Jerome.Delattre
#jira UE-196287
#rnx

[CL 28548968 by wojciech krywult in ue5-main branch]
2023-10-06 13:59:59 -04:00
leon huang
126f52f4d7 Localization: Added profiling to Smartling downloads.
- The time it takes to download each individual file from Smartling is now logged
- Download time for an entire localization project is also logged.
#rb: trivial
#jira: none
#test locally compiled everything and performed a download of Smartling files for a project. The times were indeed reported correctly.

[CL 28526978 by leon huang in ue5-main branch]
2023-10-05 21:15:05 -04:00
marcelo gomes
9af9cb85fa Accepting SkipInstall, SkipDeploy and SkipCopy arguments to skip build installation.
Uses AutoParam functions to set an AppConfig flag.
This change affects all platforms that in some form implement the "skip install" behavior.

[CL 28470800 by marcelo gomes in ue5-main branch]
2023-10-04 15:38:42 -04:00
zousar shaker
404622bb20 Fix bug in ZenExportSnapshotTask when NOT using a baseline snapshot descriptor.
#rb none
#jira UE-197088

[CL 28468612 by zousar shaker in ue5-main branch]
2023-10-04 14:57:31 -04:00
josh adams
c2437d9b07 - Fixed various issues with making Mac/IOS builds that can be uploaded to AppStore in Xcode
* Missing ThinApp.sh
  * Missing some quotes around a variable in GenerateUniversalDSYM.sh
  * Correctly filter out the stub .app's and such when copying the Staged data directory into the .app
  * Disabled the Mac's Sign To Run Locally option by default, as that causes Xcode's Validation/Upload to not have the team name embedded in it, causing a hassle while pushing up to AppStore/TestFlight
  * Fixed the PRODUCT_NAME for BP projects
  * Made CrashReportClient be a sandboxed app that inherits from parent
  * Fix Hybrid apps to check all platforms before in the project generator, so that if a project needs a temp target for IOS (via a plugin)
  * For hybrid projects, don't append Game to the end of the Game target names, as that is the default, and it makes for better named products
  * Disabled the LoginFlow module from OnlineFramework plugin - this was causing issues with having CEF and EpicWebHelper embedded into a sandboxed .app, and LoginFlow isn't seemingly actually used by anything
#jira UE-196297,UE-196299,UE-196296,UE-196300,UE-196295
#rb adam.kinge

[CL 28463729 by josh adams in ue5-main branch]
2023-10-04 13:25:29 -04:00
leon huang
3850621dd1 Localization:
Introduced the experimental LocalizationTargetEditor UAT command. This command allows users to create, update, delete and query localization targets in the Engine or project. The LocalizationTargetEditor UAT command is set up to have a series of sub-commands which can be executed with different parameters. This allows the LocalizationTargetEditor to be extensible to users for specialized localization target operations.
- Introduced the LocalizationTargetCommand abstract base class. This class is what all othe LocalizationTargetEditor sub-commands should be drived from. A scan of all sub-classes of LocalizationTargetCommand will be scanned for to determine all available localization target commands.
- Introduced the PluginLocalizationTargetCommand abstract base class. All commands to be operated on plugins should derive from this class.
- Introduced the NewPluginLocalizationTarget sub-command which will create localization config files for plugins and make the necessary updates to .uplugin files. All plugins under a provided directory can be operated on at a time to batch create the necessary localization config files.
- The NewPluginLocalizationTarget sub-command has perforce integration and can automatically add/check out all files that have been created/edited.
- Introduced a number of classes to encapsulate all the data in the various localization config files. This allows for generation of localization config files from code.
- Introduced the LocalizationConfigFileBuilder and LocalizationConfigFileGenerator base classes. These classes and their sub-classes are used to generate localization config files in the correct format provided the config file data. Current support is only for modular localization config files. However, the LocalizationConfigFileBuilder can also be used to generate Monolithic localization config files if necessary.also

#rb: Jamie.Dale
#jira: UE-194872, UE-194873, UE-194874,
#test Used the NewPluginLocalizationTarget sub-command to generate a number of plugins. The generated localization config files yield correct localization gather results and the plugin .locres file was successfully loaded at runtime to display the correct localized text.

[CL 28424727 by leon huang in ue5-main branch]
2023-10-03 14:44:56 -04:00
zousar shaker
3a1ca9e925 Fix deserialization of baseline snapshot descriptors.
#rb none

[CL 28413678 by zousar shaker in ue5-main branch]
2023-10-03 10:33:40 -04:00
leon huang
5b2d7c90a8 Localization:
Refactored the Localize UAT command to be more readable.
#rnx
#jira: none
#rb: Jamie.Dale

[CL 28400852 by leon huang in ue5-main branch]
2023-10-02 19:15:04 -04:00
zousar shaker
0b947c9f7f 2nd attempt:
Add support for a baseline when making cloud snapshots.  Also unify File and Cloud snapshot mechanism handling of multiple platforms, output descriptors and input baseline descriptors.

#rb none
[FYI] eric.knapik

[CL 28365921 by zousar shaker in ue5-main branch]
2023-09-30 11:46:22 -04:00
zousar shaker
bdc07cd260 [Backout] - CL28360965
[FYI] Zousar.Shaker
Original CL Desc
-----------------------------------------------------------------
Add support for a baseline when making cloud snapshots.  Also unify File and Cloud snapshot mechanism handling of multiple platforms, output descriptors and input baseline descriptors.

#rb none
[FYI] eric.knapik

[CL 28361101 by zousar shaker in ue5-main branch]
2023-09-29 19:45:10 -04:00
zousar shaker
04ce8c5205 Add support for a baseline when making cloud snapshots. Also unify File and Cloud snapshot mechanism handling of multiple platforms, output descriptors and input baseline descriptors.
#rb none
[FYI] eric.knapik

[CL 28361001 by zousar shaker in ue5-main branch]
2023-09-29 19:42:39 -04:00