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

dub test fails in subpackage's directory #1617

Open
atilaneves opened this issue Dec 13, 2018 · 0 comments
Open

dub test fails in subpackage's directory #1617

atilaneves opened this issue Dec 13, 2018 · 0 comments
Labels

Comments

@atilaneves
Copy link
Contributor

System information

  • dub version: 1.12.0
  • OS Platform and distribution: Arch Linux
  • compiler version dmd 2.083.0

Bug Description

dub test fails to compile for subpackage dependending on another subpackage in the subpackage directory.

How to reproduce?

# top-level dub.sdl
name "bug"

dependency ":foo" version="*"
dependency ":bar" version="*"

subPackage "foo"
subPackage "bar"
# foo/dub.sdl
name "foo"
dependency "bug:bar" path="../bar"
# bar/dub.sdl
name "bar"

dub test in the top-level directory works fine, but cd into foo and dub test fails with Sub package "bar:bar" doesn't exist.

Expected Behavior

It should be possible to test subpackages separately.

@Geod24 Geod24 added the bug label Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants