Dev/verify shm (#1276)
Some checks failed
Build on RHEL9 / build (push) Failing after 3m41s
Build on RHEL8 / build (push) Failing after 5m10s

* removed verify, update, fixed getUser to be a free function, generated commands, python bindings yet to do

* python bindings

* fixed tests

* minor

* minor

* format
This commit is contained in:
2025-08-23 10:23:27 +02:00
committed by GitHub
parent 15cbaa509e
commit fff5fa73be
18 changed files with 198 additions and 209 deletions

View File

@@ -3592,10 +3592,16 @@ TEST_CASE("frametime", "[.cmdcall]") {
TEST_CASE("user", "[.cmdcall]") {
Detector det;
Caller caller(&det);
caller.call("user", {}, -1, GET);
// stays the same across calls
std::ostringstream oss1, oss2, oss3;
caller.call("user", {}, -1, GET, oss1);
caller.call("user", {}, -1, GET, oss2);
caller.call("user", {}, -1, GET, oss3);
REQUIRE(oss1.str() == oss2.str());
REQUIRE(oss2.str() == oss3.str());
// This is a get only command
REQUIRE_THROWS(caller.call("user", {}, -1, PUT));
// REQUIRE_THROWS(caller.call("user", {}, -1, PUT)); exit with failure
REQUIRE_NOTHROW(caller.call("user", {}, -1, GET));
}