From 361ef0e3bafff8e659bf79a2f562509531c893f1 Mon Sep 17 00:00:00 2001 From: Dennis Heimbigner Date: Sun, 5 Jan 2025 17:02:58 -0700 Subject: [PATCH] trace1 --- nczarr_test/run_nan.sh | 4 +++- nczarr_test/run_ut_map.sh | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/nczarr_test/run_nan.sh b/nczarr_test/run_nan.sh index ec2916ce4d..c3bc5248e4 100755 --- a/nczarr_test/run_nan.sh +++ b/nczarr_test/run_nan.sh @@ -44,9 +44,11 @@ for t in tst_nans ; do rm -fr ${t}.$zext rm -f tmp_${t}.dmp fileargs $t +export NCTRACING=10 ${NCGEN} -4 -lb -o ${fileurl} ${cdl}/${ref}.cdl -${ZMD} -t float ${fileurl} ${NCDUMP} ${headflag} ${specflag} -n ${ref} ${fileurl} > tmp_${t}.dmp +unset NCTRACING +${ZMD} -t float ${fileurl} # compare against expected diff -b -w ${expected}/${ref}.dmp ./tmp_${t}.dmp echo "*** SUCCEED: ${t}" diff --git a/nczarr_test/run_ut_map.sh b/nczarr_test/run_ut_map.sh index 312f117600..e678185191 100755 --- a/nczarr_test/run_ut_map.sh +++ b/nczarr_test/run_ut_map.sh @@ -5,6 +5,7 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi . ${srcdir}/test_nczarr.sh +set -x set -e s3isolate "testdir_utmap" @@ -29,7 +30,9 @@ testmapcreate() { deletemap $1 $output # Create the test file +export NCTRACING=10 $CMD -k$1 -x create -o $output +unset NCTRACING cdl="ut_${tag}_create_${zext}.cdl" ref="ref_ut_${tag}_create.cdl" dumpmap $zext $output ./$cdl