summaryrefslogtreecommitdiff
path: root/meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch
blob: 892d441310112137ba08650ddea42485c063c62c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Upstream-Status: Inappropriate [disable feature]

--- liboil-0.3.9/liboil/liboilfunction.c.old	2006-09-18 13:03:20.000000000 +0100
+++ liboil-0.3.9/liboil/liboilfunction.c	2006-09-18 13:04:10.000000000 +0100
@@ -345,7 +345,9 @@
     return;
   }
 
-  test = oil_test_new (klass);
+  klass->chosen_impl = klass->reference_impl;
+  klass->func = klass->reference_impl->func;
+/*  test = oil_test_new (klass);
   if (test == NULL) {
     OIL_ERROR ("failed to test function class %s", klass->name);
     return;
@@ -385,7 +387,7 @@
   klass->chosen_impl = min_impl;
   klass->func = min_impl->func;
 
-  oil_test_free (test);
+  oil_test_free (test);*/
 }
 
 static void