tc: Release tpl-test-0.3.0 85/94585/2
authorHoyub Lee <hoyub.lee@samsung.com>
Mon, 31 Oct 2016 06:14:41 +0000 (15:14 +0900)
committerGwan-gyeong Mun <kk.moon@samsung.com>
Tue, 24 Jan 2017 07:43:54 +0000 (23:43 -0800)
Release tpl-test-0.3.0 which can tests libtpl-egl APIs.

Brief Instructions
------------------

* tpl-test can be built as follows:
  $ gbs build -A armv7l --spec=tpl-test.spec

* Tests are done automatically right after rpm package installation.

* Manual tests can be done by running following command:
  $ /opt/usr/tpl-test/tpl-test

For more information, please see README and tpl-test.docx.

Change-Id: I20db83c1c5f72eb5e0ba378b0b7f330ddf427069
Signed-off-by: Hoyub Lee <hoyub.lee@samsung.com>
README
packaging/tpl-test.spec
tc/Makefile
tc/README

diff --git a/README b/README
index 962468d..56527b2 100644 (file)
--- a/README
+++ b/README
@@ -1,12 +1,15 @@
-##### Build Instruction #####
+libtpl-egl
+==========
 
+GBS Build Instruction
+---------------------
 
-Build libtpl-egl:
-    gbs build -A armv7l --spec=libtpl-egl.spec
+Build libtpl-egl:
+  $ gbs build -A armv7l --spec=libtpl-egl.spec
 
-Build tpl-test:
-    gbs build -A armv7l --spec=tpl-test.spec
+Build tpl-test:
+  $ gbs build -A armv7l --spec=tpl-test.spec
 
-Build all:
-    gbs build -A armv7l
+Build all:
+  $ gbs build -A armv7l
 
index c7f83bf..30f0b52 100644 (file)
@@ -1,6 +1,6 @@
 Name: tpl-test
-Version: 0.2.1
-Release: 1
+Version: 0.3.0
+Release: 0
 Summary: TPL Test Module
 
 Group: Graphics & UI Framework/GL
@@ -35,8 +35,8 @@ export GTEST_INCLUDE="-I${GTEST_DIR}/googletest -I${GTEST_DIR}/googletest/includ
                                          -I${GTEST_DIR}/googlemock -I${GTEST_DIR}/googlemock/include"
 export GTEST_FLAGS="-g -Wall -Wextra -pthread"
 
-export GTEST_LIB_TEST="${GTEST_DIR}/build/gtest/libgtest.a"    # googletest output path
-export GTEST_LIB_MOCK="${GTEST_DIR}/build/libgmock.a"  # googlemock output path
+export GTEST_LIB_PATH="${GTEST_DIR}/build/gtest/libgtest.a"    # googletest output path
+export GMOCK_LIB_PATH="${GTEST_DIR}/build/libgmock.a"  # googlemock output path
 
 export BIN_NAME="tpl-test"
 
index b8e6c2c..5c8a5e3 100644 (file)
@@ -4,8 +4,8 @@
 
 # Following variables will be exported from spec file
 #
-# GTEST_LIB_TEST
-# GTEST_LIB_MOCK
+# GTEST_LIB_PATH
+# GMOCK_LIB_PATH
 # GTEST_INCLUDE
 # GTEST_FLAGS
 # BIN_NAME
@@ -36,6 +36,6 @@ clean :
 %.o: %.cpp
        $(CXX) -c -o $@ $< $(GTEST_INCLUDE) $(GTEST_FLAGS) $(CPPFLAGS) $(LD_FLAGS)
 
-$(BIN_NAME) : $(OBJS) $(GTEST_LIB_TEST) $(GTEST_LIB_MOCK)
+$(BIN_NAME) : $(OBJS) $(GTEST_LIB_PATH) $(GMOCK_LIB_PATH)
        $(CXX) -lpthread $^ -o $@ $(GTEST_FLAGS) $(CPPFLAGS) $(LD_FLAGS)
 
index 56e2ae6..421e940 100644 (file)
--- a/tc/README
+++ b/tc/README
@@ -1,41 +1,45 @@
-tpl-test - Test module for testing libtpl-egl frontend APIs
+tpl-test
+========
 
+tpl-test is the test module for testing libtpl-egl frontend APIs
 
-1. Build Instruction
 
- - Build libtpl-egl
-   $ gbs build -A armv7l --spec=libtpl-egl.spec
+GBS Build Instruction
+---------------------
 
- - Build tpl-test:
-   $ gbs build -A armv7l --spec=tpl-test.spec
+* Build libtpl-egl:
+  $ gbs build -A armv7l --spec=libtpl-egl.spec
 
- - Build all:
-   $ gbs build -A armv7l
+* Build tpl-test:
+  $ gbs build -A armv7l --spec=tpl-test.spec
 
+* Build all:
+  $ gbs build -A armv7l
 
 
-2. Install Instruction
+Install Instruction
+-------------------
 
- 1) Install
-    $ rpm -ivh tpl-test-0.2.0-1.armv7l.rpm
-    (file name can be different with version change)
+* Install
+  $ rpm -ivh tpl-test-0.3.0-0.armv7l.rpm
+  (file name can be different with version change)
 
-    then tpl-test binary file will be installed on
-    /opt/usr/tpl-test
+  then tpl-test binary file will be installed on
+  /opt/usr/tpl-test/
 
 
- 2) Uninstall
-    $ rpm -e tpl-test
+* Uninstall
+  $ rpm -e tpl-test
 
 
+Run Tests
+---------
 
-3. Run Tests
+* Run
+  $ cd /opt/usr/tpl-test
+  $ ./tpl-test
 
- 1) Run
-    $ cd /opt/usr/tpl-test
-    $ ./tpl-test
 
-
- 2) Run with configuration
-    $ ./tpl-test --config.width=720 --config.height=1280 --config.depth=24
+* Run with configuration
+  $ ./tpl-test --config.width=720 --config.height=1280 --config.depth=24