commit | 368e0b40abeef2ebfa210dc1f7b7b071b6f04af0 | [log] [tgz] |
---|---|---|
author | Lawrence Tang <lawrence.tang@arm.com> | Thu Jul 07 14:31:06 2022 +0100 |
committer | Lawrence Tang <lawrence.tang@arm.com> | Thu Jul 07 14:31:06 2022 +0100 |
tree | 7cb8ea5f3d3495e62079a62670566204ecf8ff4b | |
parent | 2721739a506bbc44aa0c86e7976ea14b86f8857c [diff] [blame] |
Shift test file, add CXL protocol fields.
diff --git a/testing/cper-test.c b/testing/cper-test.c new file mode 100644 index 0000000..6f6534d --- /dev/null +++ b/testing/cper-test.c
@@ -0,0 +1,8 @@ +#include <stdio.h> +#include "../cper-parse.h" +#include "json.h" + +int main(int argc, char* argv[]) { + json_object* ir = cper_to_ir(argv[1]); + printf("\n%s\n", json_object_to_json_string(ir)); +} \ No newline at end of file