Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make TBR default #1245

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/Analyses/ActivityReverse.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oActivity.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oActivity.out 2>&1 | %filecheck %s
// RUN: ./Activity.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-va %s -I%S/../../include -oActivity.out
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-va -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oActivity.out
// RUN: ./Activity.out | %filecheck_exec %s
//CHECK-NOT: {{.*error|warning|note:.*}}

Expand Down
4 changes: 2 additions & 2 deletions test/Analyses/TBR.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oTBR.out | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oTBR.out | %filecheck %s
// RUN: ./TBR.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oTBR.out
// RUN: %cladclang %s -I%S/../../include -oTBR.out
// RUN: ./TBR.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Arrays/ArrayInputsReverseMode.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -Wno-unused-value -oArrayInputsReverseMode.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -Wno-unused-value -oArrayInputsReverseMode.out 2>&1 | %filecheck %s
// RUN: ./ArrayInputsReverseMode.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -Wno-unused-value -oArrayInputsReverseMode.out
// RUN: %cladclang %s -I%S/../../include -Wno-unused-value -oArrayInputsReverseMode.out
// RUN: ./ArrayInputsReverseMode.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/CUDA/GradientCuda.cu
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// The Test checks whether a clad gradient can be successfully be generated on
// the device having all the dependencies also as device functions.

// RUN: %cladclang_cuda -I%S/../../include -fsyntax-only \
// RUN: %cladclang_cuda -Xclang -plugin-arg-clad -Xclang -disable-tbr -I%S/../../include -fsyntax-only \
// RUN: --cuda-gpu-arch=%cudaarch --cuda-path=%cudapath -Xclang -verify \
// RUN: %s 2>&1 | %filecheck %s
//
// RUN: %cladclang_cuda -I%S/../../include --cuda-gpu-arch=%cudaarch \
// RUN: %cladclang_cuda -Xclang -plugin-arg-clad -Xclang -disable-tbr -I%S/../../include --cuda-gpu-arch=%cudaarch \
// RUN: --cuda-path=%cudapath %cudaldflags -oGradientCuda.out %s
//
// RUN: ./GradientCuda.out | %filecheck_exec %s
Expand Down
4 changes: 2 additions & 2 deletions test/CUDA/GradientKernels.cu
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %cladclang_cuda -I%S/../../include -fsyntax-only \
// RUN: %cladclang_cuda -Xclang -plugin-arg-clad -Xclang -disable-tbr -I%S/../../include -fsyntax-only \
// RUN: --cuda-gpu-arch=%cudaarch --cuda-path=%cudapath -Xclang -verify \
// RUN: %s 2>&1 | %filecheck %s
//
// RUN: %cladclang_cuda -I%S/../../include --cuda-path=%cudapath \
// RUN: %cladclang_cuda -Xclang -plugin-arg-clad -Xclang -disable-tbr -I%S/../../include --cuda-path=%cudapath \
// RUN: --cuda-gpu-arch=%cudaarch %cudaldflags -oGradientKernels.out %s
//
// RUN: ./GradientKernels.out | %filecheck_exec %s
Expand Down
2 changes: 1 addition & 1 deletion test/Enzyme/DifferentCladEnzymeDerivatives.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -oDifferentCladEnzymeDerivatives.out | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oDifferentCladEnzymeDerivatives.out | %filecheck %s
// RUN: ./DifferentCladEnzymeDerivatives.out
// REQUIRES: Enzyme

Expand Down
2 changes: 1 addition & 1 deletion test/Enzyme/FunctionPrototypesReverseMode.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -oReverseMode.out | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oReverseMode.out | %filecheck %s
// RUN: ./ReverseMode.out | %filecheck_exec %s
// REQUIRES: Enzyme

Expand Down
2 changes: 1 addition & 1 deletion test/Enzyme/GradientsComparisonWithClad.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -oEnzymeGradients.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oEnzymeGradients.out 2>&1 | %filecheck %s
// RUN: ./EnzymeGradients.out | %filecheck_exec %s
// REQUIRES: Enzyme

Expand Down
2 changes: 1 addition & 1 deletion test/Enzyme/LoopsReverseModeComparisonWithClad.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -oEnzymeLoops.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oEnzymeLoops.out 2>&1 | %filecheck %s
// RUN: ./EnzymeLoops.out | %filecheck_exec %s
// REQUIRES: Enzyme

Expand Down
2 changes: 1 addition & 1 deletion test/ErrorEstimation/Assignments.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang -I%S/../../include -oAssignments.out %s 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr -I%S/../../include -oAssignments.out %s 2>&1 | %filecheck %s
// RUN: ./Assignments.out

#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/ErrorEstimation/BasicOps.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -fsyntax-only -Xclang -verify 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -fsyntax-only -Xclang -verify 2>&1 | %filecheck %s

#include "clad/Differentiator/Differentiator.h"

Expand Down
2 changes: 1 addition & 1 deletion test/ErrorEstimation/ConditonalStatements.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang -I%S/../../include -oCondStmts.out %s 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr -I%S/../../include -oCondStmts.out %s 2>&1 | %filecheck %s

#include "clad/Differentiator/Differentiator.h"

Expand Down
2 changes: 1 addition & 1 deletion test/ErrorEstimation/LoopsAndArrays.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang -I%S/../../include -oLoopsAndArrays.out %s 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr -I%S/../../include -oLoopsAndArrays.out %s 2>&1 | %filecheck %s

#include "clad/Differentiator/Differentiator.h"

Expand Down
2 changes: 1 addition & 1 deletion test/ErrorEstimation/LoopsAndArraysExec.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -oLoopsAndArraysExec.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oLoopsAndArraysExec.out 2>&1 | %filecheck %s
// RUN: ./LoopsAndArraysExec.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/Assignments.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oReverseAssignments.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oReverseAssignments.out 2>&1 | %filecheck %s
// RUN: ./ReverseAssignments.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oReverseAssignments.out
// RUN: %cladclang %s -I%S/../../include -oReverseAssignments.out
// RUN: ./ReverseAssignments.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/DiffInterface.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oGradientDiffInterface.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oGradientDiffInterface.out 2>&1 | %filecheck %s
// RUN: ./GradientDiffInterface.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oGradientDiffInterface.out
// RUN: %cladclang %s -I%S/../../include -oGradientDiffInterface.out
// RUN: ./GradientDiffInterface.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/FunctionCalls.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladnumdiffclang -std=c++17 -Wno-writable-strings %s -I%S/../../include -oFunctionCalls.out 2>&1 | %filecheck %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -disable-tbr -std=c++17 -Wno-writable-strings %s -I%S/../../include -oFunctionCalls.out 2>&1 | %filecheck %s
// RUN: ./FunctionCalls.out | %filecheck_exec %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -enable-tbr -std=c++17 -Wno-writable-strings %s -I%S/../../include -oFunctionCalls.out
// RUN: %cladnumdiffclang -std=c++17 -Wno-writable-strings %s -I%S/../../include -oFunctionCalls.out
// RUN: ./FunctionCalls.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/Functors.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oFunctors.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oFunctors.out 2>&1 | %filecheck %s
// RUN: ./Functors.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oFunctors.out
// RUN: %cladclang %s -I%S/../../include -oFunctors.out
// RUN: ./Functors.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/Gradients.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladnumdiffclang %s -std=c++17 -I%S/../../include -oGradients.out 2>&1 | %filecheck %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -std=c++17 -I%S/../../include -oGradients.out 2>&1 | %filecheck %s
// RUN: ./Gradients.out | %filecheck_exec %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oGradients.out
// RUN: %cladnumdiffclang %s -I%S/../../include -oGradients.out
// RUN: ./Gradients.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/InterfaceCompatibility.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladnumdiffclang %s -I%S/../../include -oInterfaceCompatibility.out 2>&1 | %filecheck %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oInterfaceCompatibility.out 2>&1 | %filecheck %s
// RUN: ./InterfaceCompatibility.out | %filecheck_exec %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oInterfaceCompatibility.out
// RUN: %cladnumdiffclang %s -I%S/../../include -oInterfaceCompatibility.out
// RUN: ./InterfaceCompatibility.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/Lambdas.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oLambdas.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oLambdas.out 2>&1 | %filecheck %s
// RUN: ./Lambdas.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oLambdas.out
// RUN: %cladclang %s -I%S/../../include -oLambdas.out
// RUN: ./Lambdas.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/Loops.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oReverseLoops.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oReverseLoops.out 2>&1 | %filecheck %s
// RUN: ./ReverseLoops.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oReverseLoops.out
// RUN: %cladclang %s -I%S/../../include -oReverseLoops.out
// RUN: ./ReverseLoops.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
12 changes: 6 additions & 6 deletions test/Gradient/MemberFunctions.C
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// RUN: %cladclang %s -fno-exceptions -I%S/../../include -oMemberFunctions.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -fno-exceptions -I%S/../../include -oMemberFunctions.out 2>&1 | %filecheck %s
// RUN: ./MemberFunctions.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -fno-exceptions -I%S/../../include -oMemberFunctions.out
// RUN: %cladclang %s -fno-exceptions -I%S/../../include -oMemberFunctions.out
// RUN: ./MemberFunctions.out | %filecheck_exec %s

// RUN: %cladclang -std=c++14 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp14.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr -std=c++14 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp14.out 2>&1 | %filecheck %s
// RUN: ./MemberFunctions-cpp14.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr -std=c++14 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp14.out
// RUN: %cladclang -std=c++14 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp14.out
// RUN: ./MemberFunctions-cpp14.out | %filecheck_exec %s

// RUN: %cladclang -std=c++17 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp17.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr -std=c++17 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp17.out 2>&1 | %filecheck %s
// RUN: ./MemberFunctions-cpp17.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr -std=c++17 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp17.out
// RUN: %cladclang -std=c++17 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp17.out
// RUN: ./MemberFunctions-cpp17.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/NonDifferentiable.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -oNonDifferentiable.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oNonDifferentiable.out 2>&1 | %filecheck %s
// RUN: ./NonDifferentiable.out | %filecheck_exec %s

#define non_differentiable __attribute__((annotate("another_attribute"), annotate("non_differentiable")))
Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/NonDifferentiableError.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -fsyntax-only -Xclang -verify 2>&1
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -fsyntax-only -Xclang -verify 2>&1

#define non_differentiable __attribute__((annotate("non_differentiable")))

Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/Pointers.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -oPointers.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oPointers.out 2>&1 | %filecheck %s
// RUN: ./Pointers.out | %filecheck_exec %s

// FIXME: This test does not work with enable-tbr flag, because the
Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/PointersWithTBR.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oPointersWithTBR.out
// RUN: %cladclang %s -I%S/../../include -oPointersWithTBR.out
// RUN: ./PointersWithTBR.out | %filecheck_exec %s
// XFAIL: *

Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/STLCustomDerivatives.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// XFAIL: asserts
// RUN: %cladclang -std=c++14 %s -I%S/../../include -oSTLCustomDerivatives.out 2>&1 | %filecheck %s
// RUN: %cladclang -std=c++14 -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oSTLCustomDerivatives.out 2>&1 | %filecheck %s
// RUN: ./STLCustomDerivatives.out | %filecheck_exec %s
// RUN: %cladclang -std=c++14 -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oSTLCustomDerivativesWithTBR.out
// RUN: %cladclang -std=c++14 %s -I%S/../../include -oSTLCustomDerivativesWithTBR.out
// RUN: ./STLCustomDerivativesWithTBR.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/Switch.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -oSwitch.out 2>&1 -lm | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oSwitch.out 2>&1 -lm | %filecheck %s
// RUN: ./Switch.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/SwitchInit.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -std=c++17 -oSwitchInit.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -std=c++17 -oSwitchInit.out 2>&1 | %filecheck %s
// RUN: ./SwitchInit.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/TemplateFunctors.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oTemplateFunctors.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oTemplateFunctors.out 2>&1 | %filecheck %s
// RUN: ./TemplateFunctors.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oTemplateFunctors.out
// RUN: %cladclang %s -I%S/../../include -oTemplateFunctors.out
// RUN: ./TemplateFunctors.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/TestAgainstDiff.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// RUN: %cladclang %s -I%S/../../include -oTestAgainstDiff.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oTestAgainstDiff.out 2>&1 | %filecheck %s
// RUN: ./TestAgainstDiff.out | %filecheck_exec %s

// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oTestAgainstDiff.out
// RUN: %cladclang %s -I%S/../../include -oTestAgainstDiff.out
// RUN: ./TestAgainstDiff.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/TestTypeConversion.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladnumdiffclang %s -I%S/../../include -oTestTypeConversion.out 2>&1 | %filecheck %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oTestTypeConversion.out 2>&1 | %filecheck %s
// RUN: ./TestTypeConversion.out | %filecheck_exec %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oTestTypeConversion.out
// RUN: %cladnumdiffclang %s -I%S/../../include -oTestTypeConversion.out
// RUN: ./TestTypeConversion.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/UnaryMinus.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oUnaryMinus.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oUnaryMinus.out 2>&1 | %filecheck %s
// RUN: ./UnaryMinus.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oUnaryMinus.out
// RUN: %cladclang %s -I%S/../../include -oUnaryMinus.out
// RUN: ./UnaryMinus.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions 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 -Xclang -verify 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oUserDefinedTypes.out -Xclang -verify 2>&1 | %filecheck %s
// RUN: ./UserDefinedTypes.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oUserDefinedTypes.out
// RUN: %cladclang %s -I%S/../../include -oUserDefinedTypes.out
// RUN: ./UserDefinedTypes.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/constexprTest.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oconstexprTest.out | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oconstexprTest.out | %filecheck %s
// RUN: ./constexprTest.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oconstexprTest.out
// RUN: %cladclang %s -I%S/../../include -oconstexprTest.out
// RUN: ./constexprTest.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/Hessian/ArrayErrors.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -fsyntax-only -Xclang -verify 2>&1
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -fsyntax-only -Xclang -verify 2>&1

#include "clad/Differentiator/Differentiator.h"

Expand Down
4 changes: 2 additions & 2 deletions test/Hessian/Arrays.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oArrays.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oArrays.out 2>&1 | %filecheck %s
// RUN: ./Arrays.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oArrays.out
// RUN: %cladclang %s -I%S/../../include -oArrays.out
// RUN: ./Arrays.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Hessian/BuiltinDerivatives.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oHessianBuiltinDerivatives.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oHessianBuiltinDerivatives.out 2>&1 | %filecheck %s
// RUN: ./HessianBuiltinDerivatives.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oHessianBuiltinDerivatives.out
// RUN: %cladclang %s -I%S/../../include -oHessianBuiltinDerivatives.out
// RUN: ./HessianBuiltinDerivatives.out | %filecheck_exec %s


Expand Down
4 changes: 2 additions & 2 deletions test/Hessian/Functors.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oFunctors.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oFunctors.out 2>&1 | %filecheck %s
// RUN: ./Functors.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oFunctors.out
// RUN: %cladclang %s -I%S/../../include -oFunctors.out
// RUN: ./Functors.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
Loading
Loading