Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Automake to run tests, and other test improvements #44

Merged
merged 11 commits into from
May 15, 2024

Commits on Apr 27, 2024

  1. Rename data directory to test

    The name `data` implies that they are somehow incorporated (or required by) the
    `pgpdump` binary.
    rhansen committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    e81d490 View commit details
    Browse the repository at this point in the history
  2. Delete redundant test/test.hs

    The shell script is perfectly adequate, and doesn't require additional
    dependencies.
    rhansen committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    be2d803 View commit details
    Browse the repository at this point in the history
  3. Support specific test cases as command-line arguments

    This will make it possible for a future commit to use the script as an
    Automake test driver.
    rhansen committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    2d1917e View commit details
    Browse the repository at this point in the history
  4. Rename test/test.sh to test/test

    The extension is unnecessary, and dropping it makes it easier to use a
    different scripting language in the future if desired.
    rhansen committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    8a2328f View commit details
    Browse the repository at this point in the history
  5. Allow user to specify path to pgpdump in the test driver

    This is a step to running the tests from Automake via `make check`.
    rhansen committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    ccfe0dc View commit details
    Browse the repository at this point in the history
  6. Refactor test driver to output TAP status lines

    This will be used by the Automake TAP harness in a future commit.
    rhansen committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    d008e37 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fcabab5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3d3f11d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e5b6271 View commit details
    Browse the repository at this point in the history
  10. Use Automake to run the tests

    Now `make check` and `make distcheck` run the unit tests.
    rhansen committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    9546c0b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6949475 View commit details
    Browse the repository at this point in the history