X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-getdate.c;h=5f7095c5c90102a2717591a3071dbe18c53b8fd7;hb=5510d3df6c49b73ed41fd3243c276f96a3c3f9d4;hp=2971f97e4814f8c101143f8495f69abc183919bd;hpb=169ab5dec0e562548959482e3ff63c96c340e0d1;p=gnulib.git diff --git a/tests/test-getdate.c b/tests/test-getdate.c index 2971f97e4..5f7095c5c 100644 --- a/tests/test-getdate.c +++ b/tests/test-getdate.c @@ -1,5 +1,5 @@ /* Test of getdate() function. - Copyright (C) 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,26 +19,14 @@ #include +#include "getdate.h" + #include #include #include #include "progname.h" - -#include "getdate.h" - -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", \ - __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" #ifdef DEBUG #define LOG(str, now, res) \