feat(test): add real UE 5.8 RunLuaTests commandlet, Lua.RunTests command, and fix UnLua .d.ts math/UObject bugs
This commit is contained in:
1 parent
3dd61c32a9
commit
96e3f0d009
29 files changed
+1417
-134
No files matched your search
@@ -0,0 +1,26 @@
|
||||
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Commandlets/Commandlet.h"
|
||||
#include "RunLuaTestsCommandlet.generated.h"
|
||||
|
||||
/**
|
||||
* Headless commandlet that boots a real UWorld + UnLua 2.3.6 Lua 5.4 runtime
|
||||
* and executes the compiled TypeScript -> UnLua test suite (`Tests.UE.UERuntimeSuite`).
|
||||
*
|
||||
* Usage:
|
||||
* UnrealEditor-Cmd <Project.uproject> -run=RunLuaTests -unattended -nop4 -nosplash -NullRHI
|
||||
* (Optional: pass -UseLuaBundle to run tests directly from /Game/Generated/DA_LuaBundle)
|
||||
*/
|
||||
UCLASS()
|
||||
class UNREALLUADEMOEDITOR_API URunLuaTestsCommandlet : public UCommandlet
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
URunLuaTestsCommandlet();
|
||||
|
||||
virtual int32 Main(const FString& Params) override;
|
||||
};
|
||||
Reference in new issue
Block a user