aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-12-08 06:28:59 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-12-08 06:28:59 +0800
commita791b442b56b3b807362eb711469c06b513a5f21 (patch)
tree0fa4d57ef14248bb708f296188f06b7de643025b
parent92708e6f44956ebcb0dc616922f8ec844c6027cc (diff)
downloadgsoc2013-evolution-a791b442b56b3b807362eb711469c06b513a5f21.tar.gz
gsoc2013-evolution-a791b442b56b3b807362eb711469c06b513a5f21.tar.zst
gsoc2013-evolution-a791b442b56b3b807362eb711469c06b513a5f21.zip
Change line no format so that emacs can detect it.
2000-12-06 Not Zed <NotZed@HelixCode.com> * tests/lib/camel-test.h (check): Change line no format so that emacs can detect it. svn path=/trunk/; revision=6848
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/tests/lib/camel-test.h4
-rw-r--r--camel/tests/message/Makefile.am5
-rw-r--r--camel/tests/message/README2
4 files changed, 12 insertions, 4 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 3d6ed1274e..e6b598579f 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-06 Not Zed <NotZed@HelixCode.com>
+
+ * tests/lib/camel-test.h (check): Change line no format so that
+ emacs can detect it.
+
2000-12-06 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-folder.c (imap_refresh_info): We want
diff --git a/camel/tests/lib/camel-test.h b/camel/tests/lib/camel-test.h
index 6ff8281aeb..986a943fa3 100644
--- a/camel/tests/lib/camel-test.h
+++ b/camel/tests/lib/camel-test.h
@@ -9,10 +9,10 @@
void camel_test_failv(const char *why, va_list ap);
/* perform a check assertion */
-#define check(x) do {if (!(x)) { camel_test_fail("%s (%d): %s", __FILE__, __LINE__, #x); } } while (0)
+#define check(x) do {if (!(x)) { camel_test_fail("%s:%d: %s", __FILE__, __LINE__, #x); } } while (0)
/* check with message */
#ifdef __GNUC__
-#define check_msg(x, y, z...) do {if (!(x)) { camel_test_fail("%s (%d): %s\n\t" #y, __FILE__, __LINE__, #x, ##z); } } while (0)
+#define check_msg(x, y, z...) do {if (!(x)) { camel_test_fail("%s:%d: %s\n\t" #y, __FILE__, __LINE__, #x, ##z); } } while (0)
#else
static void check_msg(int truth, char *fmt, ...)
{
diff --git a/camel/tests/message/Makefile.am b/camel/tests/message/Makefile.am
index 2656a007d9..aa430fa409 100644
--- a/camel/tests/message/Makefile.am
+++ b/camel/tests/message/Makefile.am
@@ -14,9 +14,10 @@ LDADD = \
check_PROGRAMS = \
test1 \
- test2
+ test2 \
+ test3
-TESTS = test1 test2
+TESTS = test1 test2 test3
diff --git a/camel/tests/message/README b/camel/tests/message/README
index 51e519cb5c..280344ce9b 100644
--- a/camel/tests/message/README
+++ b/camel/tests/message/README
@@ -1,3 +1,5 @@
test1 creating, saving, loading simple messages
test2 camelinternetaddress tests, internationalised addresses, etc.
+test3 multipart messages
+