]> granicus.if.org Git - check/commitdiff
* test fail(NULL) instead of fail() because there is
authorcpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 20 Jun 2007 03:50:45 +0000 (03:50 +0000)
committercpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 20 Jun 2007 03:50:45 +0000 (03:50 +0000)
  no way to fix fail() to work with the XL C compiler.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@412 64e312b2-a51f-0410-8e61-82d0ca0eb02a

tests/check_check_sub.c

index 7fd04258f01289481d666d6a7aa419aa8bdd050c..14a0939bfe42ab0a0fd99898f6ed1ce42f537b41 100644 (file)
@@ -103,8 +103,8 @@ START_TEST(test_fail_vararg_msg_3)
 END_TEST
 
 START_TEST(test_fail_empty)
-{
-  fail();
+{ /* plain fail() doesn't compile with xlc in C mode because of `, ## __VA_ARGS__' problem */
+  fail(NULL);
 }
 END_TEST