Skip to content

Commit

Permalink
Ignore whitespace for diff comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuck Atkins committed Sep 20, 2019
1 parent fe77305 commit dea44a5
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions testing/adios2/engine/skeleton/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ add_test(NAME Engine.Skeleton.Reader
SetupTestPipeline(Engine.Skeleton "Writer;Reader" TRUE)

add_test(NAME Engine.Skeleton.Writer.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/TestSkeletonWriterExpectedOutput.txt
TestSkeletonWriterOutput.txt
)
SetupTestPipeline(Engine.Skeleton "Writer;Writer.Validate" FALSE)

add_test(NAME Engine.Skeleton.Reader.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/TestSkeletonReaderExpectedOutput.txt
TestSkeletonReaderOutput.txt
)
Expand Down
4 changes: 2 additions & 2 deletions testing/examples/heatTransfer/TestBPFileMx1.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ add_test(NAME HeatTransfer.BP3.Mx1.Dump
)

add_test(NAME HeatTransfer.BP3.Mx1.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down Expand Up @@ -66,7 +66,7 @@ add_test(NAME HeatTransfer.BP4.Mx1.Dump
)

add_test(NAME HeatTransfer.BP4.Mx1.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
4 changes: 2 additions & 2 deletions testing/examples/heatTransfer/TestBPFileMxM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ add_test(NAME HeatTransfer.BP3.MxM.Dump
)

add_test(NAME HeatTransfer.BP3.MxM.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down Expand Up @@ -68,7 +68,7 @@ add_test(NAME HeatTransfer.BP4.MxM.Dump
)

add_test(NAME HeatTransfer.BP4.MxM.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
4 changes: 2 additions & 2 deletions testing/examples/heatTransfer/TestBPFileMxN.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ add_test(NAME HeatTransfer.BP3.MxN.Dump
)

add_test(NAME HeatTransfer.BP3.MxN.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down Expand Up @@ -68,7 +68,7 @@ add_test(NAME HeatTransfer.BP4.MxN.Dump
)

add_test(NAME HeatTransfer.BP4.MxN.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
2 changes: 1 addition & 1 deletion testing/examples/heatTransfer/TestInsituMPIMx1.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_test(NAME HeatTransfer.InsituMPI.Mx1.Dump
)

add_test(NAME HeatTransfer.InsituMPI.Mx1.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
2 changes: 1 addition & 1 deletion testing/examples/heatTransfer/TestInsituMPIMxM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_test(NAME HeatTransfer.InsituMPI.MxM.Dump
)

add_test(NAME HeatTransfer.InsituMPI.MxM.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
2 changes: 1 addition & 1 deletion testing/examples/heatTransfer/TestInsituMPIMxN.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_test(NAME HeatTransfer.InsituMPI.MxN.Dump
)

add_test(NAME HeatTransfer.InsituMPI.MxN.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
2 changes: 1 addition & 1 deletion testing/examples/heatTransfer/TestSSTBPMx1.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_test(NAME HeatTransfer.SST.BP.Mx1.Dump
)

add_test(NAME HeatTransfer.SST.BP.Mx1.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
2 changes: 1 addition & 1 deletion testing/examples/heatTransfer/TestSSTBPMxM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_test(NAME HeatTransfer.SST.BP.MxM.Dump
)

add_test(NAME HeatTransfer.SST.BP.MxM.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
2 changes: 1 addition & 1 deletion testing/examples/heatTransfer/TestSSTBPMxN.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_test(NAME HeatTransfer.SST.BP.MxN.Dump
)

add_test(NAME HeatTransfer.SST.BP.MxN.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
2 changes: 1 addition & 1 deletion testing/examples/heatTransfer/TestSSTBPRDMAMxN.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_test(NAME HeatTransfer.SST.BP.RDMA.MxN.Dump
)

add_test(NAME HeatTransfer.SST.BP.RDMA.MxN.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
2 changes: 1 addition & 1 deletion testing/examples/heatTransfer/TestSSTFFSMx1.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_test(NAME HeatTransfer.SST.FFS.Mx1.Dump
)

add_test(NAME HeatTransfer.SST.FFS.Mx1.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
2 changes: 1 addition & 1 deletion testing/examples/heatTransfer/TestSSTFFSMxM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_test(NAME HeatTransfer.SST.FFS.MxM.Dump
)

add_test(NAME HeatTransfer.SST.FFS.MxM.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
2 changes: 1 addition & 1 deletion testing/examples/heatTransfer/TestSSTFFSMxN.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_test(NAME HeatTransfer.SST.FFS.MxN.Dump
)

add_test(NAME HeatTransfer.SST.FFS.MxN.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
2 changes: 1 addition & 1 deletion testing/examples/heatTransfer/TestSSTFFSRDMAMxN.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_test(NAME HeatTransfer.SST.FFS.MxN.Dump
)

add_test(NAME HeatTransfer.SST.FFS.MxN.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt
Dump.txt
)
Expand Down
10 changes: 5 additions & 5 deletions testing/utils/changingshape/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ add_test(NAME Utils.ChangingShape.Dump

if(ADIOS2_HAVE_MPI)
add_test(NAME Utils.ChangingShape.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/TestUtilsChangingShape.bplsla.expected.txt
TestUtilsChangingShape.bplsla.result.txt
)
Expand All @@ -63,7 +63,7 @@ add_test(NAME Utils.ChangingShape.AlternatingStepsAndChangingShapeVar.Dump

if(ADIOS2_HAVE_MPI)
add_test(NAME Utils.ChangingShape.AlternatingStepsAndChangingShapeVar.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/TestUtilsChangingShape.bplsldAlternatingStepsAndChangingShapeVar.expected.txt
TestUtilsChangingShape.bplsldAlternatingStepsAndChangingShapeVar.result.txt
)
Expand Down Expand Up @@ -97,7 +97,7 @@ add_test(NAME Utils.ChangingShape.AlternatingStepsVarSelection.Dump

if(ADIOS2_HAVE_MPI)
add_test(NAME Utils.ChangingShape.AlternatingStepsVarSelection.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/TestUtilsChangingShape.bplsldAlternatingStepsVarSelection.expected.txt
TestUtilsChangingShape.bplsldAlternatingStepsVarSelection.result.txt
)
Expand Down Expand Up @@ -130,7 +130,7 @@ add_test(NAME Utils.ChangingShape.ChangingShapeVarOneStep.Dump
)
if(ADIOS2_HAVE_MPI)
add_test(NAME Utils.ChangingShape.ChangingShapeVarOneStep.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/TestUtilsChangingShape.bplsldChangingShapeVarOneStep.expected.txt
TestUtilsChangingShape.bplsldChangingShapeVarOneStep.result.txt
)
Expand Down Expand Up @@ -160,7 +160,7 @@ add_test(NAME Utils.ChangingShape.FixedShapeVarTooManySteps.Dump

if(ADIOS2_HAVE_MPI)
add_test(NAME Utils.ChangingShape.FixedShapeVarTooManySteps.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/TestUtilsChangingShape.bplsldFixedShapeVarTooManySteps.expected.txt
TestUtilsChangingShape.bplsldFixedShapeVarTooManySteps.result.txt
)
Expand Down
12 changes: 6 additions & 6 deletions testing/utils/cwriter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ add_test(NAME Utils.CWriter.Bpls.h.Dump

if(ADIOS2_HAVE_MPI)
add_test(NAME Utils.CWriter.Bpls.h.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/TestUtilsCWriter.bplsh.expected.txt
TestUtilsCWriter.bplsh.result.txt
)
Expand Down Expand Up @@ -64,7 +64,7 @@ add_test(NAME Utils.CWriter.Bpls.la.Dump

if(ADIOS2_HAVE_MPI)
add_test(NAME Utils.CWriter.Bpls.la.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/TestUtilsCWriter.bplsla.expected.txt
TestUtilsCWriter.bplsla.result.txt
)
Expand All @@ -89,7 +89,7 @@ add_test(NAME Utils.CWriter.Bpls.Al.Dump

if(ADIOS2_HAVE_MPI)
add_test(NAME Utils.CWriter.Bpls.Al.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/TestUtilsCWriter.bplsAl.expected.txt
TestUtilsCWriter.bplsAl.result.txt
)
Expand All @@ -111,7 +111,7 @@ add_test(NAME Utils.CWriter.Bpls.ldDav.Dump

if(ADIOS2_HAVE_MPI)
add_test(NAME Utils.CWriter.Bpls.ldDav.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/TestUtilsCWriter.bplsldDav.expected.txt
TestUtilsCWriter.bplsldDav.result.txt
)
Expand All @@ -134,7 +134,7 @@ add_test(NAME Utils.CWriter.Bpls.ldDavvv.Dump

if(ADIOS2_HAVE_MPI)
add_test(NAME Utils.CWriter.Bpls.ldDavvv.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/TestUtilsCWriter.bplsldDavvv.expected.txt
TestUtilsCWriter.bplsldDavvv.result.txt
)
Expand Down Expand Up @@ -162,7 +162,7 @@ add_test(NAME Utils.CWriter.Bpls.ldvarI16.Dump

if(ADIOS2_HAVE_MPI)
add_test(NAME Utils.CWriter.Bpls.ldvarI16.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/TestUtilsCWriter.bplsldvarI16.expected.txt
TestUtilsCWriter.bplsldvarI16.result.txt
)
Expand Down
12 changes: 6 additions & 6 deletions testing/utils/iotest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_test(NAME Utils.IOTest.Pipe2.BP.Write.Dump
)

add_test(NAME Utils.IOTest.Pipe2.BP.Write.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/IOTest.Pipe2.BP.Write.bpls.txt
IOTest.Pipe2.BP.Write.bpls.txt
)
Expand Down Expand Up @@ -59,7 +59,7 @@ add_test(NAME Utils.IOTest.Pipe2.BP.Read.Dump
)

add_test(NAME Utils.IOTest.Pipe2.BP.Read.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/IOTest.Pipe2.BP.Read.bpls.txt
IOTest.Pipe2.BP.Read.bpls.txt
)
Expand Down Expand Up @@ -91,7 +91,7 @@ if(ADIOS2_HAVE_HDF5)
)

add_test(NAME Utils.IOTest.Pipe2.HDF5.Write.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/IOTest.Pipe2.HDF5.Write.bpls.txt
IOTest.Pipe2.HDF5.Write.bpls.txt
)
Expand Down Expand Up @@ -122,7 +122,7 @@ if(ADIOS2_HAVE_HDF5)
)

add_test(NAME Utils.IOTest.Pipe2.HDF5.Read.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/IOTest.Pipe2.HDF5.Read.bpls.txt
IOTest.Pipe2.HDF5.Read.bpls.txt
)
Expand Down Expand Up @@ -161,7 +161,7 @@ if(MPIEXEC_MAX_NUMPROCS GREATER 1)
)

add_test(NAME Utils.IOTest.Pipe2.InSituMPI.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/IOTest.Pipe2.InSituMPI.bpls.txt
IOTest.Pipe2.InSituMPI.bpls.txt
)
Expand Down Expand Up @@ -196,7 +196,7 @@ if(MPIEXEC_MAX_NUMPROCS GREATER 1)
)

add_test(NAME Utils.IOTest.Pipe2.SST.Validate
COMMAND ${DIFF_EXECUTABLE} -u
COMMAND ${DIFF_EXECUTABLE} -uw
${CMAKE_CURRENT_SOURCE_DIR}/IOTest.Pipe2.SST.bpls.txt
IOTest.Pipe2.SST.bpls.txt
)
Expand Down

0 comments on commit dea44a5

Please sign in to comment.