Skip to content

Commit

Permalink
Fix ClassVersion unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jul 27, 2024
1 parent 5c2d038 commit ff922d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FWCore/Reflection/test/run_checkClassVersion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
function die { echo Failure $1: status $2 ; exit $2 ; }

XMLPATH=${SCRAM_TEST_PATH}/stubs
LIBFILE=${LOCALTOP}/lib/${SCRAM_ARCH}/libFWCoreReflectionTestObjects.so
LIBFILE=libFWCoreReflectionTestObjects.so

edmCheckClassVersion -l ${LIBFILE} -x ${XMLPATH}/classes_def.xml || die "edmCheckClassVersion failed" $?

Expand Down
2 changes: 1 addition & 1 deletion FWCore/Reflection/test/run_dumpClassVersion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
function die { echo Failure $1: status $2 ; exit $2 ; }

XMLPATH=${SCRAM_TEST_PATH}/stubs
LIBFILE=${LOCALTOP}/lib/${SCRAM_ARCH}/libFWCoreReflectionTestObjects.so
LIBFILE=libFWCoreReflectionTestObjects.so

edmDumpClassVersion -l ${LIBFILE} -x ${XMLPATH}/classes_def.xml -o dump.json || die "edmDumpClassVersion failed" $?
diff -u ${SCRAM_TEST_PATH}/dumpClassVersion_reference.json dump.json || die "Unexpected class version dump" $?
Expand Down

0 comments on commit ff922d3

Please sign in to comment.