Changeset 242


Ignore:
Timestamp:
01/08/07 11:13:59 (8 years ago)
Author:
xi
Message:

Undefine the NDEBUG directive for the test programs.

Location:
libyaml/trunk/tests
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • libyaml/trunk/tests/run-dumper.c

    r238 r242  
    33#include <stdlib.h> 
    44#include <stdio.h> 
     5#include <string.h> 
     6 
     7#ifdef NDEBUG 
     8#undef NDEBUG 
     9#endif 
    510#include <assert.h> 
    6 #include <string.h> 
    711 
    812#define BUFFER_SIZE 65536 
     
    115119            } 
    116120            break; 
    117  
     121        default: 
     122            assert(0); 
     123            break; 
    118124    } 
    119125    return 1; 
  • libyaml/trunk/tests/run-emitter.c

    r238 r242  
    33#include <stdlib.h> 
    44#include <stdio.h> 
     5#include <string.h> 
     6 
     7#ifdef NDEBUG 
     8#undef NDEBUG 
     9#endif 
    510#include <assert.h> 
    6 #include <string.h> 
    711 
    812#define BUFFER_SIZE 65536 
  • libyaml/trunk/tests/run-loader.c

    r238 r242  
    33#include <stdlib.h> 
    44#include <stdio.h> 
     5 
     6#ifdef NDEBUG 
     7#undef NDEBUG 
     8#endif 
    59#include <assert.h> 
    610 
  • libyaml/trunk/tests/run-parser.c

    r210 r242  
    33#include <stdlib.h> 
    44#include <stdio.h> 
     5 
     6#ifdef NDEBUG 
     7#undef NDEBUG 
     8#endif 
    59#include <assert.h> 
    610 
  • libyaml/trunk/tests/run-scanner.c

    r210 r242  
    33#include <stdlib.h> 
    44#include <stdio.h> 
     5 
     6#ifdef NDEBUG 
     7#undef NDEBUG 
     8#endif 
    59#include <assert.h> 
    610 
  • libyaml/trunk/tests/test-reader.c

    r208 r242  
    66#include <stdlib.h> 
    77#include <stdio.h> 
     8 
     9#ifdef NDEBUG 
     10#undef NDEBUG 
     11#endif 
    812#include <assert.h> 
    913 
  • libyaml/trunk/tests/test-version.c

    r208 r242  
    33#include <stdlib.h> 
    44#include <stdio.h> 
     5 
     6#ifdef NDEBUG 
     7#undef NDEBUG 
     8#endif 
    59#include <assert.h> 
    610 
Note: See TracChangeset for help on using the changeset viewer.