summaryrefslogtreecommitdiff
path: root/TC/excute.sh
diff options
context:
space:
mode:
Diffstat (limited to 'TC/excute.sh')
-rwxr-xr-xTC/excute.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/TC/excute.sh b/TC/excute.sh
new file mode 100755
index 0000000..2c6167e
--- /dev/null
+++ b/TC/excute.sh
@@ -0,0 +1,16 @@
+. ./_export_target_env.sh # setting environment variables
+
+echo PATH=$PATH
+echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH
+echo TET_ROOT=$TET_ROOT
+echo TET_SUITE_ROOT=$TET_SUITE_ROOT
+echo ARCH=$ARCH
+
+RESULT_DIR=results-$ARCH
+HTML_RESULT=$RESULT_DIR/exec-tar-result-$FILE_NAME_EXTENSION.html
+JOURNAL_RESULT=$RESULT_DIR/exec-tar-result-$FILE_NAME_EXTENSION.journal
+
+mkdir $RESULT_DIR
+
+tcc -e -j $JOURNAL_RESULT -p ./ # executing tcc, with –e option
+grw -c 3 -f chtml -o $HTML_RESULT $JOURNAL_RESULT # reporting the result