updates test to work with new build system
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user