bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/5] {master}: tests: factor the generation of main ()


From: Akim Demaille
Subject: [PATCH 0/5] {master}: tests: factor the generation of main ()
Date: Mon, 21 Jan 2013 16:36:50 +0100

I was writing tests for work-in-progress, and I had to reuse a main
function.  Instead of duplicating it yet another time, the following
batch of patches introduces, and generalizes, AT_MAIN_DEFINE.

The first patch, somewhat off-topic, addresses a minor shortcoming
in one of our diagnostics.

All pushed.

Akim Demaille (5):
  diagnostics: avoid useless caret stuttering
  tests: minor refactoring
  tests: factor the definition of main
  tests: improve factoring of the main function
  tests: generalize default main for api.namespace

 src/scan-code.l         |   2 +-
 tests/actions.at        | 122 +++++++++++-------------------------------------
 tests/c++.at            |  80 +++++++++++++------------------
 tests/conflicts.at      |  36 ++------------
 tests/glr-regression.at |  50 +++++---------------
 tests/headers.at        |  27 +++--------
 tests/input.at          |   7 +--
 tests/local.at          |  55 ++++++++++++++++++++--
 tests/named-refs.at     |   3 +-
 tests/regression.at     |  95 +++++++++----------------------------
 tests/skeletons.at      |   7 +--
 tests/torture.at        |  22 ++-------
 12 files changed, 165 insertions(+), 341 deletions(-)

-- 
1.8.1.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]