Skip to content

Conformance machinery can handle test names a bit misleadingly #6660

@kwxm

Description

@kwxm

The conformance test machinery traverses the directory hierarchy looking for directories with no subdirectories and when it finds such a directory it checks that it contains exactly one .uplc file and loads it, executes it, and checks the result and budget against golden files in the same directory. However, it doesn't check that the name of the .uplc file matches that of the directory, but it does expect the golden files to have basenames that match the name of the directory. Thus if you have a directory called test-123 and it contains test-456.uplc it expects the golden files to be in test-123-uplc.expected and test-123.uplc.budget.expected. This can be confusing if you create a source file whose name doesn't match that of the directory containing it.

This issue emerged after PR #6627; see also #6659.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions