File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -305,15 +305,19 @@ __local_build()
305305 cmake .. -DCMAKE_BUILD_TYPE=Release \
306306 -DCMAKE_CXX_FLAGS_RELEASE=" -Ofast -march=native -ffast-math -flto" \
307307 -DCMAKE_EXE_LINKER_FLAGS=" -flto" \
308- -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \
308+ -DCMAKE_BUILD_RPATH= ' @executable_path/../lib ' \
309309 -DCMAKE_INSTALL_RPATH=' @executable_path/../lib' \
310+ -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
311+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF \
310312 -DCMAKE_INSTALL_PREFIX=" ${INSTALL_PATH} /kepler-formal"
311313 else
312314 cmake .. -DCMAKE_BUILD_TYPE=Release \
313315 -DCMAKE_CXX_FLAGS_RELEASE=" -Ofast -march=native -ffast-math -flto" \
314316 -DCMAKE_EXE_LINKER_FLAGS=" -flto" \
315- -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \
317+ -DCMAKE_BUILD_RPATH= ' \$ORIGIN/../lib ' \
316318 -DCMAKE_INSTALL_RPATH=' \$ORIGIN/../lib' \
319+ -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
320+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF \
317321 -DCMAKE_INSTALL_PREFIX=" ${INSTALL_PATH} /kepler-formal"
318322 fi
319323
Original file line number Diff line number Diff line change @@ -24,12 +24,11 @@ proc run_lec_test { step file1 file2 } {
2424 write_lec_script $step $file1 $file2
2525 # tclint-disable-next-line command-args
2626 eval exec kepler-formal --config $::env(OBJECTS_DIR) /lec_test_${step} .yml
27- set count \
28- [exec grep -c " Found difference" $::env(LOG_DIR) /lec_check_${step} .log]
29- if { $count > 0 } {
30- error " Repair timing output failed lec test"
31- } else {
32- puts " Repair timing output passed lec test"
27+ try {
28+ set count [exec grep -c " Found difference" $::env(LOG_DIR) /lec_check_${step} .log]]
29+ } trap CHILDSTATUS {results options} {
30+ # This block executes if grep returns a non-zero exit code
31+ set count 0
3332 }
3433}
3534
Original file line number Diff line number Diff line change @@ -115,4 +115,4 @@ proc run_equivalence_test { } {
115115 } else {
116116 puts " Repair timing output passed equivalence test"
117117 }
118- }
118+ }
You can’t perform that action at this time.
0 commit comments