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>
-##### 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
Name: tpl-test
-Version: 0.2.1
-Release: 1
+Version: 0.3.0
+Release: 0
Summary: TPL Test Module
Group: Graphics & UI Framework/GL
-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"
# 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
%.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)
-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