2 * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
5 * By using this file, you agree to the terms and conditions set
6 * forth in the LICENSE file which can be found at the top level of
7 * the sendmail distribution.
9 * $Id: test.h,v 1.6 2001/04/03 01:53:01 gshapiro Exp $
12 #pragma ident "%Z%%M% %I% %E% SMI"
15 ** Abstractions for writing a libsm test program.
23 # if defined(__STDC__) || defined(__cplusplus)
24 # define SM_TEST(cond) sm_test(cond, #cond, __FILE__, __LINE__)
25 # else /* defined(__STDC__) || defined(__cplusplus) */
26 # define SM_TEST(cond) sm_test(cond, "cond", __FILE__, __LINE__)
27 # endif /* defined(__STDC__) || defined(__cplusplus) */
29 extern int SmTestIndex
;
30 extern int SmTestNumErrors
;
46 sm_test_end
__P((void));
48 #endif /* ! SM_TEST_H */