bats is an automated testing framework for bash
Details
Details
- Reviewers
mat matthew - Commits
- rP460497: new port: devel/bats
portlint -A - OK poudriere testport - OK functionality - OK
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Also, unless this is a problem, I would encourage you to install the scripts in a subdirectory of libexec, and not directly in it.
devel/bats/Makefile | ||
---|---|---|
38 ↗ | (On Diff #38619) | ${RLN} ${STAGEDIR}/libexec/bats ${STAGEDIR}${PREFIX}/bin/bats |
Comment Actions
address mat's feedback:
o use ${RLN}
o move libexec scripts to libexec/bats
Although this is different from upstream install layout,
moving scripts under libexec/bats still works and there
is no issue running tests.
devel/bats/Makefile | ||
---|---|---|
18 ↗ | (On Diff #38628) | I doubt this works, SHEBANG_FILES is relative to WRKSRC. |
Comment Actions
This does work. These files are in ${WRKSRC}/libexec: https://github.com/sstephenson/bats