Skip to content

Build fails with WITH_DEV_AUTOMATION_TESTS = 0 on release 2.0 - H20.5.487 #338

@gsyberg

Description

@gsyberg

I think a line in HoudiniEditorUnitTestUtils.h hade been misplaced.

class FHoudiniLatentTestCommand : public FFunctionLatentCommand
{
public:
	// Each part of an HDA that requires a Cook should be its own FFunctionLatentCommand. Before the Update()
	// function is called this class ensures the previous cook completed.

	FHoudiniLatentTestCommand(TSharedPtr<FHoudiniTestContext> InContext, TFunction<bool()> InLatentPredicate)
		: FFunctionLatentCommand(InLatentPredicate), Context(InContext) {}

	TSharedPtr<FHoudiniTestContext> Context;

	// Like its base class, return true when the command is complete, false when it should be called again.
	virtual bool Update() override;
};


#if WITH_DEV_AUTOMATION_TESTS

#endif

#if WITH_DEV_AUTOMATION_TESTS needs to come before FHoudiniLatentTestCommand is defined.

Not critical as I can just change it here for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions