FAQ
Author: marvin
Date: Tue Oct 24 12:54:51 2006
New Revision: 467457

URL: http://svn.apache.org/viewvc?view=rev&rev=467457
Log:
Fix test that was being skipped.

Modified:
lucene/lucy/trunk/charmonizer/src/Charmonizer/Test/VariadicMacros.charm

Modified: lucene/lucy/trunk/charmonizer/src/Charmonizer/Test/VariadicMacros.charm
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/charmonizer/src/Charmonizer/Test/VariadicMacros.charm?view=diff&rev=467457&r1=467456&r2=467457
==============================================================================
--- lucene/lucy/trunk/charmonizer/src/Charmonizer/Test/VariadicMacros.charm (original)
+++ lucene/lucy/trunk/charmonizer/src/Charmonizer/Test/VariadicMacros.charm Tue Oct 24 12:54:51 2006
@@ -9,7 +9,7 @@
int *num_failed, int *num_skipped)
{
int test_num = 0;
- *num_tests = 3;
+ *num_tests = 4;
*num_passed = 0;
*num_failed = 0;
*num_skipped = *num_tests;
@@ -17,14 +17,16 @@
chaz_bool_t really_has_var_macs = false;
int i;

-#ifndef HAS_VARIADIC_MACROS
- #if defined(HAS_ISO_VARIADIC_MACROS) || defined(HAS_GNUC_VARIADIC_MACROS)
- Assert_True(0, "#defines agree");
- #else
+#if defined(HAS_ISO_VARIADIC_MACROS) || defined(HAS_GNUC_VARIADIC_MACROS)
+ #ifdef HAS_VARIADIC_MACROS
Assert_True(1, "#defines agree");
- Skip_Remaining("No variadic macro support");
+ #else
+ Assert_True(0, "#defines agree");
#endif
+#else
+ Skip_Remaining("No variadic macro support");
#endif
+

#ifdef HAS_ISO_VARIADIC_MACROS
#define ISO_TEST(buffer, fmt, ...) \

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouplucy-commits @
categorieslucene
postedOct 26, '06 at 4:02a
activeOct 26, '06 at 4:02a
posts1
users1
websitelucene.apache.org

1 user in discussion

Marvin: 1 post

People

Translate

site design / logo © 2019 Grokbase