| commit | d7c68312bdeca52e242326e5cf155e0aa63268bb | [log] [tgz] |
|---|---|---|
| author | Tom Tromey <tromey@adacore.com> | Thu Sep 23 13:09:48 2021 -0600 |
| committer | Tom Tromey <tromey@adacore.com> | Tue Oct 19 12:58:50 2021 -0600 |
| tree | 8daa0e71c0de29b9bee9f0a8376dc431b65af861 | |
| parent | 4a2f674a688df474639066922f4ce70ce97b30d2 [diff] |
Always use std::function for self-tests Now that there is a register_test variant that accepts std::function, it seems to me that the 'selftest' struct and accompanying code is obsolete -- simply always using std::function is simpler. This patch implements this idea.