Unified · Split
| @@ -89,12 +89,12 @@ do · 88 unmodified lines | |||
| 89 | cat "${err}" | 89 | cat "${err}" |
| 90 | rm -f "${err}" | 90 | rm -f "${err}" |
| 91 | total_count=`expr $total_count + 1` | 91 | total_count=`expr $total_count + 1` |
| 92 | objdump -S "${as_object}" |grep "^[ ]*0:" >"${expected}" | 92 | "${CROSS_COMPILE}objdump" -S "${as_object}" |grep "^[ ]*0:" >"${expected}" |
| 93 | 93 | ||
| 94 | #echo '__asm__("'"$s ${args}"'");' > "${csource}" | 94 | #echo '__asm__("'"$s ${args}"'");' > "${csource}" |
| 95 | if echo '__asm__("'"$s ${args}"'");'| ./tcc -o "${tcc_object}" -c - | 95 | if echo '__asm__("'"$s ${args}"'");'| ./tcc -o "${tcc_object}" -c - |
| 96 | then | 96 | then |
| 97 | objdump -S "${tcc_object}" |grep "^[ ]*0:" >"${got}" | 97 | "${CROSS_COMPILE}objdump" -S "${tcc_object}" |grep "^[ ]*0:" >"${got}" |
| 98 | if diff -u "${got}" "${expected}" | 98 | if diff -u "${got}" "${expected}" |
| 99 | then | 99 | then |
| 100 | touch "${state}/ok-$s $args" | 100 | touch "${state}/ok-$s $args" |