initial test harness for smp regression

This commit is contained in:
2026-03-24 18:00:50 +01:00
parent 7253aadd52
commit c11f68d20c
8 changed files with 605 additions and 12 deletions

View File

@@ -16,7 +16,7 @@ if [ -z "$line" ]; then
exit 1
fi
sed "${line}a\\
extern void test_interrupt_dispatch(void);" "$src" > "$tmp1"
void test_interrupt_dispatch(void) __attribute__((weak));\nvoid test_interrupt_dispatch(void) {}" "$src" > "$tmp1"
line=$(grep -n -F "$call_anchor" "$tmp1" | head -n 1 | cut -d: -f1)
if [ -z "$line" ]; then