Skip to content

Commit edd5b26

Browse files
authored
Merge pull request #1399 from CAS-Atlantic/ImprovedVerifyOdinScripts
Improved the verify odin script
2 parents 9ff7158 + c8fc2e8 commit edd5b26

File tree

3 files changed

+437
-426
lines changed

3 files changed

+437
-426
lines changed

ODIN_II/exec_wrapper.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,13 @@ function display() {
175175
esac
176176

177177
# check for uncaught errors
178-
179178
ERROR_CATCH="$(cat "${LOG_FILE}" | grep 'Odin exited with code: ' | awk '{print $5}' | grep -E '^\-?[0-9]+$')"
180179
[ "_${ERROR_CATCH}" != "_" ] && EXIT_CODE="${ERROR_CATCH}"
181180

182181
EXIT_ERROR_TYPE=$( print_exit_type "${EXIT_CODE}" )
183182

183+
MISMATCH_CHECK="$(cat "${LOG_FILE}" | grep "Error::OUTPUT_BLIF Vector files differ.")"
184+
[ "_${MISMATCH_CHECK}" != "_" ] && EXIT_ERROR_TYPE="MISMATCH"
184185

185186
if [ "_${EXIT_CODE}" == "_0" ] && [ "_${LEAK_MESSAGE}" == "_" ]
186187
then

0 commit comments

Comments
 (0)