From 9b663e9464dab276e23eb06de4c082082ac09159 Mon Sep 17 00:00:00 2001 From: MET Tools Test Account Date: Wed, 13 Dec 2023 19:25:25 +0000 Subject: [PATCH] Per #2761, patching test_util.R to use the -C command line option for ncdiff. --- internal/test_unit/R_test/test_util.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/test_unit/R_test/test_util.R b/internal/test_unit/R_test/test_util.R index bcbeb14e71..0749dbe328 100644 --- a/internal/test_unit/R_test/test_util.R +++ b/internal/test_unit/R_test/test_util.R @@ -696,7 +696,7 @@ compareNc = function(nc1, nc2, verb, strict=0, delta=-1, comp_var=0){ } # build and run the ncdiff command - strCmd = paste(strNcDiffExec, " -x -v time_bounds \\\n ", nc1, " \\\n ", nc2, " \\\n ", strNcDiff, sep=""); + strCmd = paste(strNcDiffExec, " -C -x -v time_bounds \\\n ", nc1, " \\\n ", nc2, " \\\n ", strNcDiff, sep=""); if( 2 <= verb ){ cat("NCDIFF:", strCmd, "\n"); } strCmdOut = system(paste(strCmd, "2>&1"), intern=T);