range-set-test: Remove special case for llvm-gcc on Mac OS.
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 27 Jul 2016 03:39:24 +0000 (20:39 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 27 Jul 2016 03:39:24 +0000 (20:39 -0700)
According to Jeremy Lavergne, recent llvm-gcc doesn't have the same bug.

tests/libpspp/range-set-test.c

index c7a89176e68e996dfe34110d785f7da5e2ebd112..9c13de6d082c9b13af715597d75604d56987a5de 100644 (file)
@@ -279,12 +279,6 @@ test_insert (void)
   unsigned int init_pat;
   int i, j;
 
-#if __GNUC__ == 4 && __GNUC_MINOR__ == 2 && __llvm__
-  /* This test seems to trigger a bug in llvm-gcc 4.2 on Mac OS X 10.8.0.
-     Exit code 77 tells the Autotest framework that the test was skipped. */
-  exit (77);
-#endif
-
   for (init_pat = 0; init_pat < (1u << positions); init_pat++)
     for (i = 0; i < positions + 1; i++)
       for (j = i; j <= positions + 1; j++)
@@ -312,12 +306,6 @@ test_delete (void)
   unsigned int init_pat;
   int i, j;
 
-#if __GNUC__ == 4 && __GNUC_MINOR__ == 2 && __llvm__
-  /* This test seems to trigger a bug in llvm-gcc 4.2 on Mac OS X 10.8.0.
-     Exit code 77 tells the Autotest framework that the test was skipped. */
-  exit (77);
-#endif
-
   for (init_pat = 0; init_pat < (1u << positions); init_pat++)
     for (i = 0; i < positions + 1; i++)
       for (j = i; j <= positions + 1; j++)
@@ -342,12 +330,6 @@ test_allocate (void)
   unsigned int init_pat;
   int request;
 
-#if __GNUC__ == 4 && __GNUC_MINOR__ == 2 && __llvm__
-  /* This test seems to trigger a bug in llvm-gcc 4.2 on Mac OS X 10.8.0.
-     Exit code 77 tells the Autotest framework that the test was skipped. */
-  exit (77);
-#endif
-
   for (init_pat = 0; init_pat < (1u << positions); init_pat++)
     for (request = 1; request <= positions + 1; request++)
       {
@@ -398,12 +380,6 @@ test_allocate_fully (void)
   unsigned int init_pat;
   int request;
 
-#if __GNUC__ == 4 && __GNUC_MINOR__ == 2 && __llvm__
-  /* This test seems to trigger a bug in llvm-gcc 4.2 on Mac OS X 10.8.0.
-     Exit code 77 tells the Autotest framework that the test was skipped. */
-  exit (77);
-#endif
-
   for (init_pat = 0; init_pat < (1u << positions); init_pat++)
     for (request = 1; request <= positions + 1; request++)
       {