From 3b632b342f72f890e8ef94b154b9187c6cd1245e Mon Sep 17 00:00:00 2001 From: Lucas Nesi <lucas.nesi@inf.ufrgs.br> Date: Fri, 23 Sep 2022 19:22:31 +0200 Subject: [PATCH 1/2] Add new short names for testings This is useful in simgrid --- testing/chameleon_ztesting.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/chameleon_ztesting.c b/testing/chameleon_ztesting.c index dfe7776bf..9d97c89d2 100644 --- a/testing/chameleon_ztesting.c +++ b/testing/chameleon_ztesting.c @@ -40,11 +40,11 @@ parameter_t parameters[] = { { "help", "Show this help", 'h', PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, { "human", "Enable human readable mode", 'H', PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, { "niter", "Perform multiple iteration per test", 'l', PARAM_OPTION, 1, 0, TestValInt, {1}, NULL, pread_int, sprint_int }, - { "nowarmup", "Disable the warmup run to load libraries", -30, PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, + { "nowarmup", "Disable the warmup run to load libraries", 'w', PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, #if !defined(CHAMELEON_TESTINGS_VENDOR) { "check", "Enable checking of the result", 'c', PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, - { "trace", "Enable the trace generation", -31, PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, - { "mtxfmt", "Change the way the matrix is stored (0: global, 1: tiles, 2: OOC)", -32, PARAM_OPTION | PARAM_INPUT | PARAM_OUTPUT, 1, 6, TestValInt, {0}, NULL, pread_int, sprint_int }, + { "trace", "Enable the trace generation", 'T', PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, + { "mtxfmt", "Change the way the matrix is stored (0: global, 1: tiles, 2: OOC)", 'F', PARAM_OPTION | PARAM_INPUT | PARAM_OUTPUT, 1, 6, TestValInt, {0}, NULL, pread_int, sprint_int }, { "profile", "Display the kernel profiling", -33, PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, { "forcegpu", "Force kernels on GPU", -34, PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, { "async", "Switch to the Async interface", 's', PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, -- GitLab From c2150306fb157ef310bda3d7e6647ea8259d50c5 Mon Sep 17 00:00:00 2001 From: Lucas Nesi <lucas.nesi@inf.ufrgs.br> Date: Sat, 24 Sep 2022 00:06:38 +0200 Subject: [PATCH 2/2] Add new short names for vendor testings --- testing/vendor_ztesting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/vendor_ztesting.c b/testing/vendor_ztesting.c index df72f106c..c46b871ab 100644 --- a/testing/vendor_ztesting.c +++ b/testing/vendor_ztesting.c @@ -34,7 +34,7 @@ parameter_t parameters[] = { { "help", "Show this help", 'h', PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, { "human", "Enable human readable mode", 'H', PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, { "niter", "Perform multiple iteration per test", 'l', PARAM_OPTION, 1, 0, TestValInt, {1}, NULL, pread_int, sprint_int }, - { "nowarmup", "Disable the warmup run to load libraries", -30, PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, + { "nowarmup", "Disable the warmup run to load libraries", 'w', PARAM_OPTION, 0, 0, TestValInt, {0}, NULL, pread_int, sprint_int }, { NULL, "Machine parameters", 0, PARAM_OPTION, 0, 0, 0, {0}, NULL, NULL, NULL }, { "threads", "Number of CPU workers per node", 't', PARAM_OPTION | PARAM_OUTPUT, 1, 7, TestValInt, {-1}, NULL, pread_int, sprint_int }, -- GitLab