summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYan <yanxk.fnst@fujitsu.com>2023-05-17 10:18:19 +0800
committerQiu Tingting <qiutt@fujitsu.com>2023-05-18 06:35:53 +0000
commita58fe5da972a02673b4aa207ac1bbc0944a80ecd (patch)
treecbfca34bf9b153d779a7932550dffd41f1b464e8
parent4075f7774fdedbe6dfc89cec091d9b8d3014644c (diff)
agl-test-framework: change default log mode
change default logging mode to "slim". the old default mode, which was "default", is not any more. We change the default logging mode to "slim", which means delete temp files per case. also not to make users missunderstanding the meaning, old option name "default" is now named as "origin". Bug-AGL: SPEC-4753 Signed-off-by: Yan <yanxk.fnst@fujitsu.com> Change-Id: I98ab15935970ab0298e8fe972ba9a8ecd3eca722
-rwxr-xr-xagl-test10
1 files changed, 5 insertions, 5 deletions
diff --git a/agl-test b/agl-test
index 866121f..3c5dd9c 100755
--- a/agl-test
+++ b/agl-test
@@ -26,22 +26,22 @@ then
fi
echo "STRESS_LEVEL: $STRESS_LEVEL"
-# default logging mode is default
+# default logging mode is slim
if [[ ! $LOG_MODE ]]
then
- export LOG_MODE="default"
+ export LOG_MODE="slim"
fi
case $LOG_MODE in
- "default")
+ "origin")
;;
"slim")
;;
"clear")
;;
*)
- echo "Unrecognized LOG_MODE, setting to default..."
- export LOG_MODE="default"
+ echo "Unrecognized LOG_MODE, setting to default mode 'slim'..."
+ export LOG_MODE="slim"
;;
esac