Permalink
Switch branches/tags
Nothing to show
Commits on Jan 17, 2014
Commits on Jun 27, 2008
  1. Add support for asserting on long long values: define CTEST_LONG_LONG…

    …_ASSERT before including ctassert.h.
    Scott Bronson committed Jun 27, 2008
Commits on Jun 25, 2008
  1. Ensure we don't interpret the expression in the format string.

    AssertZero(12%i) would interpret %i as a format string to printf and then all sorts of weird things would be printed.
    Scott Bronson committed Jun 25, 2008
  2. Fix a stupid whitespace typo

    Scott Bronson committed Jun 25, 2008
  3. Print a warning when an inverted assert unexpectedly succeeds (invert…

    …ed asserts are always supposed to fail)
    Scott Bronson committed Jun 25, 2008
  4. Move the inversion back into the test structure so the proper inversi…

    …on state will be maintained even when we longjmp. Before, with it stored in the prefs struct, longjmping would not reset the inversion
    Scott Bronson committed Jun 25, 2008
Commits on Jun 12, 2008
Commits on May 26, 2008
  1. Add argument handling.

    Scott Bronson committed May 26, 2008
  2. bunch o meaningless naming cleanups

    Scott Bronson committed May 26, 2008
  3. Standardize the passing of assertion results to functions.

    It's now a single variable named "success".
    Scott Bronson committed May 26, 2008
  4. Simplify test inversion; it's a special case used only when testing c…

    …test itself.
    
    Note that test inversion no longer counts as a separate test in the metrics.  This is a good thing.
    Scott Bronson committed May 26, 2008
  5. get rid of an obsolete declaration

    Scott Bronson committed May 26, 2008
  6. Get rid of test_print. Try to reduce reliance on stdarg.h.

    Scott Bronson committed May 26, 2008
Commits on May 24, 2008
  1. Fix some very minor pedantic C issues.

    Scott Bronson committed May 24, 2008
  2. simplify calling ctest_internal_start_test

    Scott Bronson committed May 24, 2008
  3. Consolidate the metrics into a single global struct.

    Scott Bronson committed May 24, 2008
  4. Simplification: merge ctest_assert_succeeded and ctest_assert_failed …

    …into ctest_assert
    Scott Bronson committed May 24, 2008
  5. Add synonyms: Str -> String and Ptr -> Pointer

    Scott Bronson committed May 24, 2008
  6. Start converting macros to only execute arguments once.

    Scott Bronson committed May 24, 2008
  7. Get rid of the variadic macro.

    Functional tests fail because asserts now execute their args multiple times.  Fix will come in a different commit.
    Scott Bronson committed May 24, 2008
Commits on May 23, 2008
  1. Get rid of ctest_assert_prepare(). It prevented assertions from easil…

    …y nesting.
    Scott Bronson committed May 23, 2008
  2. File consolidation. Having a separate ctest_test.c/h was more confusi…

    …ng, not less.
    Scott Bronson committed May 23, 2008
  3. This is a much better way of handling asserts outside of ctest_start!

    The concept of implicit/impromptou tests was entirely unneeded.  What was I thinking?
    Scott Bronson committed May 23, 2008
  4. Get rid of all C++-style comments, compile with -pedantic.

    This should ensure that we work on just about every C compiler out there.
    Scott Bronson committed May 23, 2008
  5. Naming fix: impromptou -> implicit. It's a much beter fit.

    Scott Bronson committed May 22, 2008
  6. Don't count an impromptou test in the statistics. Fix verbose printin…

    …g and indenting.
    Scott Bronson committed May 22, 2008
Commits on May 22, 2008
  1. Get rid of the idea of flavor files. It was overcomplex.

    Scott Bronson committed May 22, 2008