[dylan-lang/testworks] c269a0: Use <choice-option> in command line parser.

GitHub <[email protected]> Sun, 26 Jul 2015 11:10:44 -0700
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <55b522a46e8b3_ebb3fd72c2632a070fd@hookshot-fe5-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/testworks
  Commit: c269a08d6ef8b0e7b464d774467f83db518c29f5
      https://github.com/dylan-lang/testworks/commit/c269a08d6ef8b0e7b464d774467f83db518c29f5
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-07-26 (Sun, 26 Jul 2015)

  Changed paths:
    M command-line.dylan
    M tests/test-command-line.dylan

  Log Message:
  -----------
  Use <choice-option> in command line parser.

Using <choice-option> results in better error reporting.

* command-line.dylan
  (general): Move some constants to the top of the file before
    they are used.
  (parse-args): Switch from <optional-parameter-option> and
    <parameter-option> to <choice-option>.
  (make-runner-from-command-line): Remove extraneous error handling
    now that <choice-option> is handling it.

* tests/test-command-line.dylan
  (test-make-runner-from-command-line): Remove test of bare --debug
    for now as it doesn't work any longer.


  Commit: f1bed9c17981ad402bcbfbd80fca663b652d0d37
      https://github.com/dylan-lang/testworks/commit/f1bed9c17981ad402bcbfbd80fca663b652d0d37
  Author: Carl Gay <[email protected]>
  Date:   2015-07-26 (Sun, 26 Jul 2015)

  Changed paths:
    M command-line.dylan
    M tests/test-command-line.dylan

  Log Message:
  -----------
  Merge pull request #68 from dylan-lang/use-choice-options

Use <choice-option> in command line parser.


Compare: https://github.com/dylan-lang/testworks/compare/a39ef4d4d7bf...f1bed9c17981

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter