|
From: Gabriele G. <go...@ya...> - 2025-12-20 22:20:40
|
currently many tests have per port overrides like: #if !defined( __SDCC_pdk13) && !defined( __SDCC_pdk14) // Lack of memory #if !defined(__SDCC_ds390) && !defined(__SDCC_ds390) && !defined(__SDCC_hc08) && !defined(__SDCC_s08) && !defined(__SDCC_mos6502) && !defined(__SDCC_mos65c02) // struct return not yet supported this is all over the place and it is really difficult to maintain. i.e. I have implemented struct return for mos6502 but I am still grepping the test suite to enable the relevant tests for the arch. I am thinking to have each port define its features/limits in testfwk.h i.e. memory size, stack size, struct return, struct param, Bitint ... In this way the tests would be able to check if they should run in a architecture independent way. Any feedback? thanks, GG |