首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >虚幻引擎4.25 Gauntlet测试

虚幻引擎4.25 Gauntlet测试
EN

Stack Overflow用户
提问于 2020-10-09 23:07:10
回答 1查看 450关注 0票数 0

我可以使用如下终端在虚幻引擎4中运行我的gauntlet测试:

C:\UnrealEngine4-25\Engine\Build\BatchFiles\RunUAT.bat" RunUnreal -project="C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\HVS.uproject" -scriptdir="C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game" -platform=Win64 -configuration=Development -build=editor -test="DaedalicTestAutomationPlugin.Automation.DaeGauntletTest"

但是,当我尝试在Jenkins中运行相同的命令作为构建步骤时,它将不会运行,有人以前见过这些错误并可能知道是什么导致了这个问题吗?

代码语言:javascript
复制
C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game>"C:\UnrealEngine4-25\Engine\Build\BatchFiles\RunUAT.bat" RunUnreal -project="C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game/HVS.uproject" -scriptdir="C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game" -platform=Win64 -configuration=Development -build=editor -test="DaedalicTestAutomationPlugin.Automation.DaeGauntletTest" 
Running AutomationTool...
Parsing command line: RunUnreal -project=C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game/HVS.uproject -scriptdir=C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game -platform=Win64 -configuration=Development -build=editor -test=DaedalicTestAutomationPlugin.Automation.DaeGauntletTest -compile
Dependencies are out of date. Compiling scripts....
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1850,5): warning : The referenced project '\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj' does not exist. [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeGauntletTest.cs(1,7): error CS0246: The type or namespace name 'Gauntlet' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeTestConfig.cs(1,7): error CS0246: The type or namespace name 'Gauntlet' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeTestConfig.cs(6,34): error CS0246: The type or namespace name 'EpicGame' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeGauntletTest.cs(5,36): error CS0246: The type or namespace name 'UnrealTestNode<>' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeTestConfig.cs(26,44): error CS0246: The type or namespace name 'UnrealAppConfig' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeTestConfig.cs(26,71): error CS0246: The type or namespace name 'UnrealSessionRole' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeTestConfig.cs(26,113): error CS0246: The type or namespace name 'UnrealSessionRole' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeGauntletTest.cs(11,39): error CS0115: 'DaeGauntletTest.GetConfiguration()': no suitable method found to override [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeGauntletTest.cs(7,32): error CS0246: The type or namespace name 'UnrealTestContext' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeTestConfig.cs(11,4): error CS0246: The type or namespace name 'AutoParamAttribute' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeTestConfig.cs(11,4): error CS0246: The type or namespace name 'AutoParam' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeTestConfig.cs(17,10): error CS0246: The type or namespace name 'AutoParamAttribute' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeTestConfig.cs(17,10): error CS0246: The type or namespace name 'AutoParam' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeTestConfig.cs(23,10): error CS0246: The type or namespace name 'AutoParamAttribute' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
  DaeTestConfig.cs(23,10): error CS0246: The type or namespace name 'AutoParam' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
Took 1.4241513s to run MSBuild.exe, ExitCode=1
ERROR: Failed to build "C:/UnrealEngine4-25/Engine/Programs/AutomationTool/Saved\UATTempProj.proj":
       C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1850,5): warning : The referenced project '\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj' does not exist. [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeGauntletTest.cs(1,7): error CS0246: The type or namespace name 'Gauntlet' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeTestConfig.cs(1,7): error CS0246: The type or namespace name 'Gauntlet' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeTestConfig.cs(6,34): error CS0246: The type or namespace name 'EpicGame' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeGauntletTest.cs(5,36): error CS0246: The type or namespace name 'UnrealTestNode<>' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeTestConfig.cs(26,44): error CS0246: The type or namespace name 'UnrealAppConfig' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeTestConfig.cs(26,71): error CS0246: The type or namespace name 'UnrealSessionRole' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeTestConfig.cs(26,113): error CS0246: The type or namespace name 'UnrealSessionRole' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeGauntletTest.cs(11,39): error CS0115: 'DaeGauntletTest.GetConfiguration()': no suitable method found to override [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeGauntletTest.cs(7,32): error CS0246: The type or namespace name 'UnrealTestContext' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeTestConfig.cs(11,4): error CS0246: The type or namespace name 'AutoParamAttribute' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeTestConfig.cs(11,4): error CS0246: The type or namespace name 'AutoParam' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeTestConfig.cs(17,10): error CS0246: The type or namespace name 'AutoParamAttribute' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeTestConfig.cs(17,10): error CS0246: The type or namespace name 'AutoParam' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeTestConfig.cs(23,10): error CS0246: The type or namespace name 'AutoParamAttribute' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       DaeTestConfig.cs(23,10): error CS0246: The type or namespace name 'AutoParam' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Jenkins\AppData\Local\Jenkins.jenkins\workspace\HVS_Game\Plugins\Testing\DaedalicTestAutomationPlugin.Automation\DaedalicTestAutomationPlugin.Automation.csproj]
       
       (see C:\UnrealEngine4-25\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace)
AutomationTool exiting with ExitCode=1 (Error_Unknown)```
EN

回答 1

Stack Overflow用户

发布于 2021-03-03 08:56:34

您是否设置了UNREAL_ENGINE_4_PATH变量?Daedalic插件需要它:https://github.com/DaedalicEntertainment/ue4-test-automation#gauntlet

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/64282665

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档