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

grondo / flux-core / 549 / 3
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 10:49PM UTC
Files 131
Run time 19s
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

20 Jan 2016 10:06PM UTC coverage: 74.325% (+0.01%) from 74.312%
549.3

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.

17323 of 23307 relevant lines covered (74.33%)

417127.61 hits per line

Source Files on job 549.3
  • Tree
  • List 0
  • Changed 70
  • Source Changed 0
  • Coverage Changed 70
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 549
  • Travis Job 549.3
  • 40282ade on github
  • Prev Job for on subcmd (#548.3)
  • Next Job for on subcmd (#550.3)
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