From 2d15999e02c34c2580bb8744a143806e4391338e Mon Sep 17 00:00:00 2001 From: liubo Date: Mon, 24 Jan 2022 07:52:02 +0800 Subject: [PATCH 23/33] etmem: add testcode script add test.sh, the testcode compile and run script, for etmem. Signed-off-by: liubo --- etmem/test/test.sh | 286 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 286 insertions(+) create mode 100644 etmem/test/test.sh diff --git a/etmem/test/test.sh b/etmem/test/test.sh new file mode 100644 index 0000000..55a8cd9 --- /dev/null +++ b/etmem/test/test.sh @@ -0,0 +1,286 @@ +#!/bin/bash + +run_test_exit_value=0 +usage() +{ + echo "Usage: sh test.sh [OPTIONS]" + echo "Use test.sh to control test operation" + echo + echo "Misc:" + echo " -h, --help Print this help, then exit" + echo + echo "Compile Options:" + echo " -m, --cmake