Page MenuHomeFreeBSD

new port: devel/bats
ClosedPublic

Authored by lifanov on Jan 29 2018, 2:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 31, 5:05 AM
Unknown Object (File)
Oct 12 2024, 12:06 PM
Unknown Object (File)
Sep 29 2024, 10:48 PM
Unknown Object (File)
Sep 27 2024, 5:08 PM
Unknown Object (File)
Sep 20 2024, 9:33 PM
Unknown Object (File)
Sep 8 2024, 11:01 PM
Unknown Object (File)
Sep 8 2024, 10:41 AM
Unknown Object (File)
Sep 8 2024, 7:37 AM
Subscribers
None

Details

Summary

bats is an automated testing framework for bash

Test Plan
portlint -A - OK
poudriere testport - OK
functionality - OK

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

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.

This does work. These files are in ${WRKSRC}/libexec: https://github.com/sstephenson/bats

This does work. These files are in ${WRKSRC}/libexec: https://github.com/sstephenson/bats

Oh, yes, sorry, my brain somehow read ${SCRIPTS:S/^/libexec\/${PORTNAME}\//}...

This revision was not accepted when it landed; it landed in state Needs Review.Jan 31 2018, 4:30 PM
Closed by commit rP460497: new port: devel/bats (authored by lifanov). · Explain Why
This revision was automatically updated to reflect the committed changes.