new tests

This commit is contained in:
Jorijn van der Graaf 2026-05-28 16:48:55 +02:00
commit f5f142f993
15 changed files with 13 additions and 140 deletions

View file

@ -1,20 +0,0 @@
import std;
import Crafter.Build;
namespace fs = std::filesystem;
using namespace Crafter;
extern "C" Configuration CrafterBuildProject(std::span<const std::string_view>) {
Configuration cfg;
cfg.path = "tests/ShouldSendRecieveQUICDatagram/";
cfg.name = "ShouldSendRecieveQUICDatagram";
cfg.outputName = "ShouldSendRecieveQUICDatagram";
cfg.target = "x86_64-pc-linux-gnu";
cfg.type = ConfigurationType::Executable;
cfg.dependencies = { ParentLib("crafter-network") };
cfg.linkFlags.push_back("-Wl,--export-dynamic");
cfg.linkFlags.push_back("-ldl");
std::array<fs::path, 0> ifaces = {};
std::array<fs::path, 1> impls = { "ShouldSendRecieveQUICDatagram" };
cfg.GetInterfacesAndImplementations(ifaces, impls);
return cfg;
}