File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -119,22 +119,29 @@ jobs:
119
119
-C cpu0.CFGITCMSZ=15 \
120
120
-C cpu0.CFGDTCMSZ=15 \
121
121
--simlimit 120
122
+ cat sim.out
122
123
124
+ # Disable exit on error
125
+ set +e
123
126
# Report failure if any of the ouptut verification checks fail
124
127
# store 0 if found (failure), 1 if not (success)
125
128
exit_status=$(grep -F "ERROR" sim.out)
126
129
if [[ "$exit_status" -eq "0" ]]; then
127
- cat sim.out
128
- exit 1
130
+ set -e
131
+ cat sim.out
132
+ exit 1
129
133
fi
130
134
131
135
# Report fail if simulation does not complete successfully
132
136
# store 0 if found (success), 1 if not (failure)
133
137
exit_status= $(grep -F "SUCCESS: Program complete, exiting." sim.out)
134
138
if [[ "$exit_status" -eq "1" ]]; then
135
- cat sim.out
136
- exit 1
139
+ set -e
140
+ cat sim.out
141
+ exit 1
137
142
fi
143
+ # Re-enable exit on error
144
+ set -e
138
145
139
146
test-models-linux-aarch64 :
140
147
name : test-models-linux-aarch64
You can’t perform that action at this time.
0 commit comments