[BACK]Return to regress.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/regress.c between version 1.2 and 1.3

version 1.2, 2000/07/17 23:03:50 version 1.3, 2001/05/03 13:41:10
Line 1 
Line 1 
   /* $OpenPackages$ */
 /* $OpenBSD$ */  /* $OpenBSD$ */
   
 /*  /*
  * Copyright (c) 1999 Marc Espie.   * Copyright (c) 1999 Marc Espie.
  *   *
  * Code written for the OpenBSD project.   * Code written for the OpenBSD project.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions   * modification, are permitted provided that the following conditions
  * are met:   * are met:
Line 31 
Line 32 
 #include "make.h"  #include "make.h"
 #include <stdio.h>  #include <stdio.h>
   
 int main __P((void));  int main(void);
 #define CHECK(s)                \  #define CHECK(s)                \
 do {                            \  do {                            \
     printf("%-65s", #s);        \      printf("%-65s", #s);        \
     if (s)                      \      if (s)                      \
         printf("ok\n");         \          printf("ok\n");         \
     else {                      \      else {                      \
         printf("failed\n");     \          printf("failed\n");     \
         errors++;               \          errors++;               \
     }                           \      }                           \
 } while (0);  } while (0);
   
 int  int
 main()  main()
 {  {
     unsigned int errors = 0;      unsigned int errors = 0;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3