Skip to content

Commit

Permalink
Add assertion clause in failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-penev committed Nov 28, 2023
1 parent e5f0e2d commit 53d4a95
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion test/Arrays/ArrayInputsReverseMode.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// RUN: %cladclang %s -I%S/../../include -Wno-unused-value -oArrayInputsReverseMode.out 2>&1 | FileCheck %s
// RUN: ./ArrayInputsReverseMode.out | FileCheck -check-prefix=CHECK-EXEC %s

// REQUIRES: !asserts
// XFAIL: asserts

//CHECK-NOT: {{.*error|warning|note:.*}}

Expand Down
2 changes: 1 addition & 1 deletion test/Arrays/ArrayInputsVectorForwardMode.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// RUN: %cladclang %s -I%S/../../include -oArrayInputsVectorForwardMode.out 2>&1 | FileCheck %s
// RUN: ./ArrayInputsVectorForwardMode.out | FileCheck -check-prefix=CHECK-EXEC %s

// REQUIRES: !asserts
// XFAIL: asserts

// CHECK-NOT: {{.*error|warning|note:.*}}

Expand Down
2 changes: 1 addition & 1 deletion test/FirstDerivative/Overloads.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oOverloads.out 2>&1 | FileCheck %s
// RUN: ./Overloads.out | FileCheck -check-prefix=CHECK-EXEC %s
// REQUIRES: !asserts
// XFAIL: asserts
//CHECK-NOT: {{.*error|warning|note:.*}}

#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/FirstDerivative/VirtualMethodsCall.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oVirtualMethodsCall.out 2>&1 | FileCheck %s
// RUN: ./VirtualMethodsCall.out | FileCheck -check-prefix=CHECK-EXEC %s
// REQUIRES: !asserts
// XFAIL: asserts
//CHECK-NOT: {{.*error|warning|note:.*}}

#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/ForwardMode/UserDefinedTypes.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// RUN: %cladclang %s -I%S/../../include -oUserDefinedTypes.out | FileCheck %s
// RUN: ./UserDefinedTypes.out | FileCheck -check-prefix=CHECK-EXEC %s

// REQUIRES: !asserts
// XFAIL: asserts

// CHECK-NOT: {{.*error|warning|note:.*}}

Expand Down
2 changes: 1 addition & 1 deletion test/ForwardMode/VectorMode.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// RUN: %cladclang %s -I%S/../../include -oVectorMode.out 2>&1 | FileCheck %s
// RUN: ./VectorMode.out | FileCheck -check-prefix=CHECK-EXEC %s

// REQUIRES: !asserts
// XFAIL: asserts

//CHECK-NOT: {{.*error|warning|note:.*}}

Expand Down
2 changes: 1 addition & 1 deletion test/ForwardMode/VectorModeInterface.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -fsyntax-only -Xclang -verify 2>&1 | FileCheck %s

// REQUIRES: !asserts
// XFAIL: asserts

//CHECK-NOT: {{.*error|warning|note:.*}}

Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/MemberFunctions.C
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// RUN: %cladclang -std=c++17 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp17.out 2>&1 | FileCheck %s
// RUN: ./MemberFunctions-cpp17.out | FileCheck -check-prefix=CHECK-EXEC %s

// REQUIRES: !asserts
// XFAIL: asserts

//CHECK-NOT: {{.*error|warning|note:.*}}
#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/UserDefinedTypes.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oUserDefinedTypes.out 2>&1 | FileCheck %s
// RUN: ./UserDefinedTypes.out | FileCheck -check-prefix=CHECK-EXEC %s
// REQUIRES: !asserts
// XFAIL: asserts
// CHECK-NOT: {{.*error|warning|note:.*}}

#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/Misc/RunDemos.C
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// RUN: %cladclang %S/../../demos/RosenbrockFunction.cpp -I%S/../../include 2>&1
// RUN: %cladclang %S/../../demos/ComputerGraphics/smallpt/SmallPT.cpp -I%S/../../include 2>&1

// REQUIRES: !asserts
// XFAIL: asserts

//-----------------------------------------------------------------------------/
// Demo: Gradient.cpp
Expand Down

0 comments on commit 53d4a95

Please sign in to comment.