Skip to content

test fail if 'src' directory is not present, even if no sources are required #1094

@boegel

Description

@boegel

When running tests that don't need any sources (sourcepath is left unspecified), they fail hard if no src directory is present (because that's the default value for sourcesdir).

  * Failing phase: run
  * Reason: pipeline error: virtual copying of files failed: [Errno 2] No such file or directory: '/tmp/test_reframe/src'

Either the non-existing src directory should be ignored if no sources are required for the test, or the default value for sourcesdir should be change to None?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions