Changeset 0138478


Ignore:
Timestamp:
Oct 24, 2006, 1:41:59 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
2fa5eed
Parents:
216c734
Message:
Test failures now print out file/line numbers
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • dict.c

    r1aee7d9 r0138478  
    144144#ifdef OWL_INCLUDE_REG_TESTS
    145145
    146 #define FAIL_UNLESS(desc,pred) printf("\t%-4s: %s\n", (pred)?"ok":(numfailed++,"FAIL"), desc)
     146#include "test.h"
    147147
    148148int owl_dict_regtest(void) {
  • util.c

    rfe67f1f r0138478  
    743743#ifdef OWL_INCLUDE_REG_TESTS
    744744
    745 #define FAIL_UNLESS(desc,pred) printf("\t%-4s: %s\n", (pred)?"ok":(numfailed++,"FAIL"), desc)
     745#include "test.h"
    746746
    747747int owl_util_regtest(void)
  • variable.c

    r15b34fd r0138478  
    911911#ifdef OWL_INCLUDE_REG_TESTS
    912912
    913 #define FAIL_UNLESS(desc,pred) printf("\t%-4s: %s\n", (pred)?"ok":(numfailed++,"FAIL"), desc)
     913#include "test.h"
    914914
    915915int owl_variable_regtest(void) {
Note: See TracChangeset for help on using the changeset viewer.