ctest2 is no longer supported. Development has now migrated (back) to ctest, which is now maintained in the libc repository.
Unfortunately switching over doesn't look trivial. I have an attempt here. It required some tricks because ctest uses a different mechanism to expand macros than ctest2 did. It now uses rustc's -Z unpretty expander. However, that code does not support the ability to specify dependencies. I had to strip out the dependencies to get it to work.
I'm currently getting errors of invalid application of 'sizeof' or invalid application of 'alignof'. I think it is unhappy about "incomplete types". Perhaps there are some definitions that need to be filled out? Or skip some things?
ctest2 is no longer supported. Development has now migrated (back) to ctest, which is now maintained in the libc repository.
Unfortunately switching over doesn't look trivial. I have an attempt here. It required some tricks because ctest uses a different mechanism to expand macros than ctest2 did. It now uses rustc's
-Z unprettyexpander. However, that code does not support the ability to specify dependencies. I had to strip out the dependencies to get it to work.I'm currently getting errors of
invalid application of 'sizeof'orinvalid application of 'alignof'. I think it is unhappy about "incomplete types". Perhaps there are some definitions that need to be filled out? Or skip some things?