summaryrefslogtreecommitdiff
path: root/TC/build.sh
diff options
context:
space:
mode:
authorjy910.yun <jy910.yun@samsung.com>2012-08-21 19:11:00 +0900
committerjy910.yun <jy910.yun@samsung.com>2012-08-21 19:11:00 +0900
commit084b8672dd390c1338a7949ebe91ad76f081a29e (patch)
tree2f6a5a833bbd67aaee97bb644d4b739a38b40f3c /TC/build.sh
parent24c06363581c4713b198e0c12d6c01ae380da000 (diff)
downloadhaptic-084b8672dd390c1338a7949ebe91ad76f081a29e.tar.gz
haptic-084b8672dd390c1338a7949ebe91ad76f081a29e.tar.bz2
haptic-084b8672dd390c1338a7949ebe91ad76f081a29e.zip
Diffstat (limited to 'TC/build.sh')
-rwxr-xr-xTC/build.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/TC/build.sh b/TC/build.sh
new file mode 100755
index 0000000..72aad6c
--- /dev/null
+++ b/TC/build.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+. ./_export_env.sh # setting environment variables
+
+export TET_SUITE_ROOT=`pwd`
+FILE_NAME_EXTENSION=`date +%s`
+
+RESULT_DIR=results
+HTML_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.html
+JOURNAL_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.journal
+
+mkdir -p $RESULT_DIR
+
+tcc -c -p ./
+tcc -b -j $JOURNAL_RESULT -p ./
+grw -c 7 -f chtml -o $HTML_RESULT $JOURNAL_RESULT