-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
It would be great to be able to run tests in parallel without any additional code, this still should be configurable by the user, maybe as a cli arguments
raw example would be
template <auto refl>
void run_tests() {
std::vector<std::thread> pool;
[: expand(members_of(refl, std::meta::access_context::current())):] >> [&]<auto mem>
{
pool.emplace_back(std::thread([&]() {
[:mem:]();
}));
};
for (auto &t : pool) {
t.join();
}
}
Metadata
Metadata
Assignees
Labels
No labels