Files
reactos/modules/rostests/test-section.lds
Timo Kreuzer 151c67ebfc [ROSTESTS] Implement automatic test discovery
This uses the START_TEST macro to create test entries in a ".test" section in the binary.
2026-05-15 16:50:48 +00:00

12 lines
247 B
Plaintext

/* Make sure the .test section is kept and sorted */
SECTIONS
{
.test BLOCK(__section_alignment__) :
{
___test_start__ = . ;
KEEP (*(SORT(.test$*)))
___test_end__ = . ;
}
}
INSERT BEFORE .reloc; /* .reloc is always at the end */