Remove Unused TC Code 59/77959/1
authorKunhoon Baik <knhoon.baik@samsung.com>
Sat, 2 Jul 2016 05:17:58 +0000 (14:17 +0900)
committerKunhoon Baik <knhoon.baik@samsung.com>
Sat, 2 Jul 2016 05:17:58 +0000 (14:17 +0900)
TODO : iUTC should be created

Change-Id: Ied40c5f8e6bbf6d1656730b739d1242e52786377

13 files changed:
TC/_export_env.sh [deleted file]
TC/build.sh [deleted file]
TC/execute.sh [deleted file]
TC/tet_code [deleted file]
TC/tet_scen [deleted file]
TC/tetbuild.cfg [deleted file]
TC/tetclean.cfg [deleted file]
TC/tetexec.cfg [deleted file]
TC/unit/tslist [deleted file]
TC/unit/utc_ApplicationFW___dlog_print_func.c [deleted file]
TC/unit/utc_ApplicationFW___dlog_vprint_func.c [deleted file]
TC/unit/utc_ApplicationFW_dlog_print_func.c [deleted file]
TC/unit/utc_ApplicationFW_dlog_vprint_func.c [deleted file]

diff --git a/TC/_export_env.sh b/TC/_export_env.sh
deleted file mode 100755 (executable)
index b354434..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-# Customize below path information 
-TET_INSTALL_PATH=/scratchbox/TETware
-
-TET_SIMUL_PATH=$TET_INSTALL_PATH/tetware-simulator
-TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target
-TET_MOUNTED_PATH=/mnt/nfs/TETware/tetware-target
-
-MACHINE=`echo $SBOX_UNAME_MACHINE`
-
-if [ $MACHINE = "i686" ]               # Scratchbox i686
-then                   
-       export ARCH=simulator
-       export TET_ROOT=$TET_SIMUL_PATH
-elif [ $MACHINE = "arm" ]      # Scratchbox ARM
-then
-       export ARCH=target
-       export TET_ROOT=$TET_TARGET_PATH
-else
-       export ARCH=target
-       export TET_ROOT=$TET_MOUNTED_PATH
-fi
-
-export PATH=$TET_ROOT/bin:$PATH
-export LD_LIBRARY_PATH=$TET_ROOT/lib/tet3:$LD_LIBRARY_PATH
-
-set $(pwd)
-export TET_SUITE_ROOT=$1
-
-set $(date +%y%m%d_%H%M%S)
-FILE_NAME_EXTENSION=$1
diff --git a/TC/build.sh b/TC/build.sh
deleted file mode 100755 (executable)
index 8518d22..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-export TET_INSTALL_PATH=/home/jeesun1981/TETware # local tetware path
-export TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target
-export PATH=$TET_TARGET_PATH/bin:$PATH
-export LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH
-export TET_ROOT=$TET_TARGET_PATH
-
-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 3 -f chtml -o $HTML_RESULT $JOURNAL_RESULT
diff --git a/TC/execute.sh b/TC/execute.sh
deleted file mode 100755 (executable)
index 6720da0..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-export TET_INSTALL_PATH=/mnt/nfs/tetware
-export TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target
-export PATH=$TET_TARGET_PATH/bin:$PATH
-export LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH
-
-export TET_ROOT=$TET_TARGET_PATH
-
-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
diff --git a/TC/tet_code b/TC/tet_code
deleted file mode 100755 (executable)
index a2cf6c1..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# TET reserved codes
-0 "PASS"
-1 "FAIL"
-2 "UNRESOLVED"
-3 "NOTINUSE"
-4 "UNSUPPORTED"
-5 "UNTESTED"
-6 "UNINITIATED"
-7 "NORESULT"
-
-# Test suite additional codes
-33 "INSPECT"
diff --git a/TC/tet_scen b/TC/tet_scen
deleted file mode 100755 (executable)
index 43cbc9b..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-all
-       ^TEST
-##### Scenarios for TEST #####
-
-# Test scenario
-TEST
-       :include:/unit/tslist
diff --git a/TC/tetbuild.cfg b/TC/tetbuild.cfg
deleted file mode 100755 (executable)
index 6192c78..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-TET_OUTPUT_CAPTURE=False
-TET_BUILD_TOOL=make
-TET_PASS_TC_NAME=True
diff --git a/TC/tetclean.cfg b/TC/tetclean.cfg
deleted file mode 100755 (executable)
index c66eda4..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-TET_OUTPUT_CAPTURE=False
-TET_CLEAN_TOOL=make clean
diff --git a/TC/tetexec.cfg b/TC/tetexec.cfg
deleted file mode 100755 (executable)
index 0d9d39a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-TET_OUTPUT_CAPTURE=False
diff --git a/TC/unit/tslist b/TC/unit/tslist
deleted file mode 100755 (executable)
index 9345449..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-/unit/utc_ApplicationFW_dlog_print_func
-/unit/utc_ApplicationFW_dlog_vprint_func
-/unit/utc_ApplicationFW___dlog_print_func
-/unit/utc_ApplicationFW___dlog_vprint_func
diff --git a/TC/unit/utc_ApplicationFW___dlog_print_func.c b/TC/unit/utc_ApplicationFW___dlog_print_func.c
deleted file mode 100755 (executable)
index 66cefff..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#include <tet_api.h>
-#include "dlog.h"
-#define LOG_BUF_SIZE 1024
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_ApplicationFW___dlog_print_func_01(void);
-static void utc_ApplicationFW___dlog_print_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_ApplicationFW___dlog_print_func_01, POSITIVE_TC_IDX },
-       { utc_ApplicationFW___dlog_print_func_02, NEGATIVE_TC_IDX },
-       { NULL, 0 }
-};
-
-/* static int pid; */
-
-static void startup(void)
-{
-}
-
-static void cleanup(void)
-{
-}
-
-/**
- * @brief Positive test case of __dlog_print()
- */
-static void utc_ApplicationFW___dlog_print_func_01(void)
-{
-       int r = 0;
-
-       r = __dlog_print(LOG_ID_MAIN, DLOG_DEBUG, "DLOG_TEST", "dlog test message for tetware\n");
-
-       if (r < 0) {
-               tet_printf("__dlog_print() failed in positive test case");
-               tet_result(TET_FAIL);
-               return;
-       }
-       tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case of ug_init __dlog_print()
- */
-static void utc_ApplicationFW___dlog_print_func_02(void)
-{
-       int r = 0;
-
-       r = __dlog_print(LOG_ID_MAX, DLOG_DEBUG, "DLOG_TEST", "dlog test message for tetware\n");
-
-       if (r >= 0) {
-               tet_printf("__dlog_print() failed in negative test case");
-               tet_result(TET_FAIL);
-               return;
-       }
-       tet_result(TET_PASS);
-}
diff --git a/TC/unit/utc_ApplicationFW___dlog_vprint_func.c b/TC/unit/utc_ApplicationFW___dlog_vprint_func.c
deleted file mode 100755 (executable)
index 5358364..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#include <stdarg.h>
-#include <tet_api.h>
-#include "dlog.h"
-#define LOG_BUF_SIZE 1024
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_ApplicationFW___dlog_vprint_func_01(void);
-static void utc_ApplicationFW___dlog_vprint_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_ApplicationFW___dlog_vprint_func_01, POSITIVE_TC_IDX },
-       { utc_ApplicationFW___dlog_vprint_func_02, NEGATIVE_TC_IDX },
-       { NULL, 0 }
-};
-
-static int pid;
-char *fmt = "dlog test message for tetware\n";
-
-static void startup(void)
-{
-}
-
-static void cleanup(void)
-{
-}
-/**
- * @brief Positive test case of __dlog_vprint()
- */
-void utc_ApplicationFW___dlog_vprint_func_01(void)
-{
-       int r = 0;
-       char buf[LOG_BUF_SIZE];
-       va_list ap;
-
-       /*      va_start(ap, fmt);*/
-
-       r = __dlog_vprint(LOG_ID_MAIN, DLOG_DEBUG, "DLOG_TEST", buf, ap);
-       /*      va_end(ap);*/
-
-       if (r < 0) {
-               tet_printf("__dlog_vprint() failed in positive test case");
-               tet_result(TET_FAIL);
-               return;
-       }
-       tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case of ug_init __dlog_vprint()
- */
-void utc_ApplicationFW___dlog_vprint_func_02(void)
-{
-       int r = 0;
-       char buf[LOG_BUF_SIZE];
-       va_list ap;
-/*     va_start(ap, fmt); */
-
-       r = __dlog_vprint(LOG_ID_MAX, DLOG_DEBUG, "DLOG_TEST", fmt, ap);
-/*     va_end(ap); */
-
-       if (r >= 0) {
-               tet_printf("__dlog_vprint() failed in negative test case");
-               tet_result(TET_FAIL);
-               return;
-       }
-       tet_result(TET_PASS);
-}
diff --git a/TC/unit/utc_ApplicationFW_dlog_print_func.c b/TC/unit/utc_ApplicationFW_dlog_print_func.c
deleted file mode 100755 (executable)
index f628abc..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#include <tet_api.h>
-#include "dlog.h"
-#define LOG_BUF_SIZE 1024
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_ApplicationFW_dlog_print_func_01(void);
-static void utc_ApplicationFW_dlog_print_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_ApplicationFW_dlog_print_func_01, POSITIVE_TC_IDX },
-       { utc_ApplicationFW_dlog_print_func_02, NEGATIVE_TC_IDX },
-       { NULL, 0 }
-};
-
-/* static int pid; */
-
-static void startup(void)
-{
-}
-
-static void cleanup(void)
-{
-}
-
-/**
- * @brief Positive test case of dlog_print()
- */
-static void utc_ApplicationFW_dlog_print_func_01(void)
-{
-       int r = 0;
-
-       r = dlog_print(DLOG_DEBUG, "DLOG_TEST", "dlog test message for tetware\n");
-
-       if (r < 0) {
-               tet_printf("dlog_print() failed in positive test case");
-               tet_result(TET_FAIL);
-               return;
-       }
-       tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case of ug_init dlog_print()
- */
-static void utc_ApplicationFW_dlog_print_func_02(void)
-{
-       int r = 0;
-
-       r = dlog_print(DLOG_UNKNOWN, "DLOG_TEST", "dlog test message for tetware\n");
-
-       if (r >= 0) {
-               tet_printf("dlog_print() failed in negative test case");
-               tet_result(TET_FAIL);
-               return;
-       }
-       tet_result(TET_PASS);
-}
diff --git a/TC/unit/utc_ApplicationFW_dlog_vprint_func.c b/TC/unit/utc_ApplicationFW_dlog_vprint_func.c
deleted file mode 100755 (executable)
index ed0029a..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#include <stdarg.h>
-#include <tet_api.h>
-#include "dlog.h"
-#define LOG_BUF_SIZE 1024
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_ApplicationFW_dlog_vprint_func_01(void);
-static void utc_ApplicationFW_dlog_vprint_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_ApplicationFW_dlog_vprint_func_01, POSITIVE_TC_IDX },
-       { utc_ApplicationFW_dlog_vprint_func_02, NEGATIVE_TC_IDX },
-       { NULL, 0 }
-};
-
-static int pid;
-char *fmt = "dlog test message for tetware\n";
-
-static void startup(void)
-{
-}
-
-static void cleanup(void)
-{
-}
-/**
- * @brief Positive test case of dlog_vprint()
- */
-void utc_ApplicationFW_dlog_vprint_func_01(void)
-{
-       int r = 0;
-       char buf[LOG_BUF_SIZE];
-       va_list ap;
-
-       /*      va_start(ap, fmt);*/
-
-       r = dlog_vprint(DLOG_DEBUG, "DLOG_TEST", buf, ap);
-       /*      va_end(ap);*/
-
-       if (r < 0) {
-               tet_printf("dlog_vprint() failed in positive test case");
-               tet_result(TET_FAIL);
-               return;
-       }
-       tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case of ug_init dlog_vprint()
- */
-void utc_ApplicationFW_dlog_vprint_func_02(void)
-{
-       int r = 0;
-       char buf[LOG_BUF_SIZE];
-       va_list ap;
-/*     va_start(ap, fmt); */
-
-       r = dlog_vprint(DLOG_UNKNOWN, "DLOG_TEST", fmt, ap);
-/*     va_end(ap); */
-
-       if (r >= 0) {
-               tet_printf("dlog_vprint() failed in negative test case");
-               tet_result(TET_FAIL);
-               return;
-       }
-       tet_result(TET_PASS);
-}