updates test to work with new build system

This commit is contained in:
2026-04-10 14:13:18 +02:00
parent 4c15a3e15f
commit d97e71ca83
3 changed files with 28 additions and 29 deletions

View File

@@ -12,7 +12,7 @@ tmp1="${dst}.tmp1"
line=$(grep -n -F "$extern_anchor" "$src" | head -n 1 | cut -d: -f1)
if [ -z "$line" ]; then
echo "failed to find _tx_timer_interrupt declaration anchor in trap source" >&2
echo "failed to find _tx_timer_interrupt declaration anchor in input source" >&2
exit 1
fi
sed "${line}a\\
@@ -20,7 +20,7 @@ void test_interrupt_dispatch(void) __attribute__((weak));\nvoid test_interrupt_d
line=$(grep -n -F "$call_anchor" "$tmp1" | head -n 1 | cut -d: -f1)
if [ -z "$line" ]; then
echo "failed to find _tx_timer_interrupt call anchor in trap source" >&2
echo "failed to find _tx_timer_interrupt call anchor in input source" >&2
rm -f "$tmp1"
exit 1
fi