Skip to content

Commit

Permalink
EXODUS: Make field metadata test more robust to sort implementation d…
Browse files Browse the repository at this point in the history
…ifferences
  • Loading branch information
gdsjaar committed Sep 27, 2024
1 parent ac59067 commit 0d4a365
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/seacas/libraries/exodus/test/testall.in
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ echo "begin testwt-field-metadata" >> test.output
${PREFIX} ${BINDIR}/testwt-field-metadata${SUFFIX} >> test.output
ret_status=$((ret_status+$?))
# Filter out the "maximum_name_length" attribute. Moves around in ncdump output for nc4 vs nc3
${NCDUMP} -d5,5 test-field-metadata.exo | grep @ |sort | ${DIFF} - ${SRCDIR}/testwt-field-metadata.dmp | tee testwt-field-metadata.res
${NCDUMP} -d5,5 test-field-metadata.exo | grep @ |sort -bdf | ${DIFF} - ${SRCDIR}/testwt-field-metadata.dmp | tee testwt-field-metadata.res
ret_status=$((ret_status+${PIPESTATUS[0]}+${PIPESTATUS[3]}))
echo "end testwt-field-metadata, status = $ret_status" >> test.output

Expand Down
20 changes: 10 additions & 10 deletions packages/seacas/libraries/exodus/test/testwt-field-metadata.dmp
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@
:Basis@TESTING_SECOND_BASIS@subc_ordinal = 0, 1, 2 ;
:Basis@TESTING_SECOND_BASIS@xi = -1., 1., 1. ;
:Basis@TESTING_SECOND_BASIS@zeta = 1., -1., 1. ;
:Quad@1x2x1@cardinality = 2 ;
:Quad@1x2x1@eta = 0.5, -0.5 ;
:Quad@1x2x1@weight = 1., 1. ;
:Quad@1x2x1@xi = -0.5, 0.5 ;
:Quad@1x2x1@zeta = -0.5, 0.5 ;
:Quad@2x2x2@cardinality = 8 ;
:Quad@2x2x2@eta = -0.57735, -0.57735, 0.57735, 0.57735, -0.57735, -0.57735, 0.57735, 0.57735 ;
:Quad@2x2x2@weight = 1., 1., 1., 1., 1., 1., 1., 1. ;
:Quad@2x2x2@xi = -0.57735, 0.57735, -0.57735, 0.57735, -0.57735, 0.57735, -0.57735, 0.57735 ;
:Quad@2x2x2@zeta = -0.57735, -0.57735, -0.57735, -0.57735, 0.57735, 0.57735, 0.57735, 0.57735 ;
connect1:Field@Disp@separator = "" ;
connect1:Field@Disp@type = 8 ;
connect1:Field@Velocity@separator = "%" ;
Expand Down Expand Up @@ -50,3 +40,13 @@
"Curl@6",
"Curl@7",
"Curl@8",
:Quad@1x2x1@cardinality = 2 ;
:Quad@1x2x1@eta = 0.5, -0.5 ;
:Quad@1x2x1@weight = 1., 1. ;
:Quad@1x2x1@xi = -0.5, 0.5 ;
:Quad@1x2x1@zeta = -0.5, 0.5 ;
:Quad@2x2x2@cardinality = 8 ;
:Quad@2x2x2@eta = -0.57735, -0.57735, 0.57735, 0.57735, -0.57735, -0.57735, 0.57735, 0.57735 ;
:Quad@2x2x2@weight = 1., 1., 1., 1., 1., 1., 1., 1. ;
:Quad@2x2x2@xi = -0.57735, 0.57735, -0.57735, 0.57735, -0.57735, 0.57735, -0.57735, 0.57735 ;
:Quad@2x2x2@zeta = -0.57735, -0.57735, -0.57735, -0.57735, 0.57735, 0.57735, 0.57735, 0.57735 ;

0 comments on commit 0d4a365

Please sign in to comment.