MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / fork

Method fork

test/include/test.hpp:705–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703 }
704
705 static std::string fork(const std::string& name, string_map args)
706 {
707 std::string msg;
708 args[""] = {name};
709 args.erase("--continue");
710 args["--quiet"];
711 auto cmd = create_command(args);
712 auto r = std::system(cmd.c_str()); // NOLINT
713 if(r != 0)
714 msg = "Exited with " + std::to_string(r);
715 return msg;
716 }
717
718 static std::vector<std::pair<std::string, test_case>> glob_tests(const std::string& pattern)
719 {

Callers

nothing calls this directly

Calls 2

eraseMethod · 0.80
to_stringFunction · 0.50

Tested by

no test coverage detected