• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

grondo / flux-core / 548
74%
master: 80%

Build:
Build:
LAST BUILD BRANCH: cherry-pick-rebase-pull-request-3-7c65ded4-944b-4c3a-8e00-ed2b4fd71d98-b8e939d0-a398-47dc-b90f-81ca7bbc3c71
DEFAULT BRANCH: master
Ran 20 Jan 2016 07:41PM UTC
Jobs 1
Files 131
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
548

push

travis-ci

grondo
cmd/flux: use optparse for flux(1) subcommands

Convert flux(1) to use optparse_t for main option processing and the
handling of internal or "builtin" subcommands.

All internal flux(1) subcommands are now registered as optparse
subcommands. In order to ease the addition of new builtins, builtin
subcommands are grouped separately in src/cmd/builtin/*.c and compiled
into flux.c.

Each builtin module now exports a single "registration" function
named `subcommand_<name>_register`, where <name> is replaced with
the basename of the C source file. The registration function is
responsible for registering one or more new subcommands with flux.c
optparse_t object which is passed to the function.

A new script `builtin-cmds-list.sh` automatically generates a table of
these functions in builtin-cmds.c for use during flux.c initialization.

17320 of 23307 relevant lines covered (74.31%)

420316.9 hits per line

Jobs
ID Job ID Ran Files Coverage
3 548.3 20 Jan 2016 07:41PM UTC 0
74.31
Travis Job 548.3
Source Files on build 548
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #548
  • 8d805cf7 on github
  • Prev Build on subcmd (#540)
  • Next Build on subcmd (#549)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc