Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gsyberg opened this issue Feb 19, 2025 · 0 comments
Open

Comments

@gsyberg
Copy link

gsyberg commented Feb 19, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant