Skip to content

Unable to run validator by test name #119

@mizdebsk

Description

@mizdebsk

I am unable to run validator by test name.

Reproducer:

mkdir /tmp/tests /tmp/empty1 /tmp/empty2
git clone --bare https://src.fedoraproject.org/tests/javapackages.git /tmp/tests.git
git --git-dir /tmp/tests.git --work-tree /tmp/tests reset --hard 94b1bd7
./run.sh -r -x -sp /tmp/tests/src -d /tmp/empty1 -f /tmp/empty2 /java/maven-metadata

Actual output:

Exception in thread "main" java.lang.RuntimeException: The following arguments were not found as available tests: [/java/maven-metadata]
	at org.fedoraproject.javapackages.validator.Main.select(Main.java:516)
	at org.fedoraproject.javapackages.validator.Main.run(Main.java:644)
	at org.fedoraproject.javapackages.validator.Main.main(Main.java:655)

The exception indicates that the test /java/maven-metadata was not found, but it is available and debug output confirms that:

[DEBUG] Available tests:
...
/java/maven-metadata

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions