From 32cc57a8039ad5254dda83194947309f4b76bdc3 Mon Sep 17 00:00:00 2001 From: Mihail Mihov Date: Tue, 19 Mar 2024 19:03:44 +0200 Subject: [PATCH] Fix Gradient/Gradients test on i586 --- test/Gradient/Gradients.C | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/Gradient/Gradients.C b/test/Gradient/Gradients.C index f0dccc4db..345db8bca 100644 --- a/test/Gradient/Gradients.C +++ b/test/Gradient/Gradients.C @@ -4,7 +4,6 @@ // RUN: ./Gradients.out | FileCheck -check-prefix=CHECK-EXEC %s //CHECK-NOT: {{.*error|warning|note:.*}} -// XFAIL: target={{i586.*}} #include "clad/Differentiator/Differentiator.h" #include @@ -293,7 +292,7 @@ double f_cond4(double x, double y) { //CHECK: void f_cond4_grad(double x, double y, clad::array_ref _d_x, clad::array_ref _d_y) { //CHECK-NEXT: int _d_i = 0; -//CHECK-NEXT: clad::array _d_arr(2UL); +//CHECK-NEXT: clad::array _d_arr({{2U|2UL}}); //CHECK-NEXT: bool _cond0; //CHECK-NEXT: double _t0; //CHECK-NEXT: int i = 0; @@ -695,7 +694,7 @@ float running_sum(float* p, int n) { } // CHECK: void running_sum_grad(float *p, int n, clad::array_ref _d_p, clad::array_ref _d_n) { -// CHECK-NEXT: unsigned long _t0; +// CHECK-NEXT: unsigned {{int|long}} _t0; // CHECK-NEXT: int _d_i = 0; // CHECK-NEXT: int i = 0; // CHECK-NEXT: clad::tape _t1 = {};