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

feature request: make test #280

Closed
assistcontrol opened this issue Mar 9, 2015 · 5 comments
Closed

feature request: make test #280

assistcontrol opened this issue Mar 9, 2015 · 5 comments

Comments

@assistcontrol
Copy link

It would be incredibly helpful to have a testport switch that adds TEST_DEPENDS to RUN_DEPENDS and runs make test after build.

@bdrewery
Copy link
Member

bdrewery commented Mar 9, 2015

There needs to be Mk/ framework support first.

@assistcontrol
Copy link
Author

Running make test directly from ${WRKSRC} makes part of it easier.

Even just adding TEST_DEPENDS to RUN_DEPENDS makes testport -i easier to run make test yourself in.

I do understand what you mean though. RUN_DEPENDS are added from make run-depends-list IIRC.

@assistcontrol
Copy link
Author

Adding a reference to FreeBSD bug #198494 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198494).

@bdrewery
Copy link
Member

There's a decent implementation at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164896 that needs to be rebased and tweaked a little.

My concern is that I don't want to put much special logic in poudriere for ports. Another tool may come along and decide it should do things differently. This happened with Tinderbox->Poudriere. It's better if the framework defines how things should work and the rules behind them. Then no tool can be wrong.

@bdrewery
Copy link
Member

bdrewery commented Jun 9, 2017

#355

@bdrewery bdrewery closed this as completed Jun 9, 2017
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

2 participants