Page MenuHomeFreeBSD

shells/bash-completion: Define do-test.
Needs ReviewPublic

Authored by 0mp on Wed, Nov 28, 4:02 PM.

Details

Reviewers
mat
krion
sunpoet
Summary

This revision defines the do-test target to make running tests for this port easier on FreeBSD.

The return codes of the test suite scripts are ignored as many tests still fail
(mostly due to incompatibilities between FreeBSD and other systems).

Also, tests have to be started from an interactive console: printf '%s\n' 'cd /usr/ports/shells/bash-completion' 'make test' | poudriere testport -i -j jail -o shells/bash-completion didn't work while running make test manually worked. It is probably related to https://github.com/scop/bash-completion/blob/2.8/doc/testing.txt#L149.

Test Plan
console
host# poudriere testport -i -j jail -o shells/bash-completion
jail# cd /usr/ports/shells/bash-completion && make test

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 21242
Build 20584: arc lint + arc unit

Event Timeline

0mp created this revision.Wed, Nov 28, 4:02 PM
mat added inline comments.Thu, Dec 6, 3:38 PM
shells/bash-completion/Makefile
6

Why?