mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-24 14:22:28 +00:00
Remove testonly
keyword
This commit is contained in:
parent
9be364d40a
commit
d721ff8938
31 changed files with 78 additions and 94 deletions
|
@ -72,7 +72,7 @@ COSMOPOLITAN_C_START_
|
|||
#define __TEST_PROTOTYPE(S, N, A, K) \
|
||||
void S##_##N(void); \
|
||||
testfn_t S##_##N##_ptr[] A(S##_##N) = {S##_##N}; \
|
||||
testonly K void S##_##N(void)
|
||||
K void S##_##N(void)
|
||||
|
||||
#define __TEST_SECTION(NAME, CONTENT) \
|
||||
".section " NAME "\n" CONTENT "\n\t.previous\n"
|
||||
|
@ -89,7 +89,7 @@ COSMOPOLITAN_C_START_
|
|||
"\t.quad\t" STRINGIFY(GROUP##_##ENTRY)) \
|
||||
__ROSTR("1:\t.asciz\t" STRINGIFY(#GROUP)) \
|
||||
__ROSTR("2:\t.asciz\t" STRINGIFY(#ENTRY))); \
|
||||
testonly void GROUP##_##ENTRY(void)
|
||||
void GROUP##_##ENTRY(void)
|
||||
|
||||
/**
|
||||
* Enables setup and teardown of test directories.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue