summaryrefslogtreecommitdiff
path: root/TC/execute.sh
diff options
context:
space:
mode:
authorYoungHun Kim <yh8004.kim@samsung.com>2012-08-21 20:36:05 +0900
committerYoungHun Kim <yh8004.kim@samsung.com>2012-08-21 20:36:05 +0900
commit63288c072109d62e63d8778ad03f64338710a275 (patch)
treed93e0f8b80dec250b7b8d31b9b8588640c0f91da /TC/execute.sh
parentc6c0801b77239bcb9a3063595c44be0f9e4ecc68 (diff)
downloadimage-util-29e1128d429ba9e26bc30c8ec4db1f1bc5eacdf8.tar.gz
image-util-29e1128d429ba9e26bc30c8ec4db1f1bc5eacdf8.tar.bz2
image-util-29e1128d429ba9e26bc30c8ec4db1f1bc5eacdf8.zip
Diffstat (limited to 'TC/execute.sh')
-rwxr-xr-xTC/execute.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/TC/execute.sh b/TC/execute.sh
new file mode 100755
index 0000000..a4f6095
--- /dev/null
+++ b/TC/execute.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+. ./_export_target_env.sh # setting environment variables
+
+export TET_SUITE_ROOT=`pwd`
+FILE_NAME_EXTENSION=`date +%s`
+
+RESULT_DIR=results
+HTML_RESULT=$RESULT_DIR/exec-tar-result-$FILE_NAME_EXTENSION.html
+JOURNAL_RESULT=$RESULT_DIR/exec-tar-result-$FILE_NAME_EXTENSION.journal
+
+mkdir -p $RESULT_DIR
+
+tcc -e -j $JOURNAL_RESULT -p ./
+grw -c 3 -f chtml -o $HTML_RESULT $JOURNAL_RESULT