From: Jinkun Jang Date: Tue, 12 Mar 2013 16:51:39 +0000 (+0900) Subject: Tizen 2.1 base X-Git-Tag: 2.1b_release~5 X-Git-Url: http://review.tizen.org/git/?p=framework%2Fsystem%2Fdlog.git;a=commitdiff_plain;h=c80bc869f14f04d8350c7d6520535e5388e20da4 Tizen 2.1 base --- diff --git a/AUTHORS b/AUTHORS new file mode 100755 index 0000000..2190840 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,3 @@ +juho son +Suchang Woo +kyungmin Park diff --git a/LICENSE.APLv2 b/LICENSE.APLv2 new file mode 100755 index 0000000..8aa906c --- /dev/null +++ b/LICENSE.APLv2 @@ -0,0 +1,205 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + diff --git a/Makefile.am b/Makefile.am new file mode 100755 index 0000000..c16223f --- /dev/null +++ b/Makefile.am @@ -0,0 +1,41 @@ + + +if SD_JOURNAL_SUPPORT +AM_CFLAGS = @CFLAGS@ -I$(srcdir)/include \ + -I$(srcdir)/include/internal -DSD_JOURNAL_SUPPORT +else +AM_CFLAGS = @CFLAGS@ -I$(srcdir)/include \ + -I$(srcdir)/include/internal +endif + +dlog_includedir = $(includedir)/dlog +dlog_include_HEADERS = \ + include/dlog.h + +lib_LTLIBRARIES = libdlog.la + +libdlog_la_SOURCES = \ + log.c \ + include/dlog.h + +if SD_JOURNAL_SUPPORT +libdlog_la_LIBADD = -lpthread -lsystemd-journal +else +libdlog_la_LIBADD = -lpthread +endif +bin_PROGRAMS= dlogutil + +dlogutil_SOURCES = \ + logutil.c \ + logprint.c \ + include/logger.h \ + include/logprint.h + +# conf file +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = dlog.pc + +bootscriptdir = /etc/rc.d/init.d +bootscript_SCRIPTS = dlog.sh + + diff --git a/NOTICE b/NOTICE new file mode 100755 index 0000000..a8b23d8 --- /dev/null +++ b/NOTICE @@ -0,0 +1,4 @@ +Copyright (c) The Android Open Source Project +Copyright (c) Samsung Electronics Co., Ltd. All rights reserved. +Except as noted, this software is licensed under Apache License, Version 2. +Please, see the LICENSE.APLv2 file for Apache License terms and conditions. diff --git a/TC/_export_env.sh b/TC/_export_env.sh new file mode 100755 index 0000000..b354434 --- /dev/null +++ b/TC/_export_env.sh @@ -0,0 +1,30 @@ +# 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 new file mode 100755 index 0000000..8518d22 --- /dev/null +++ b/TC/build.sh @@ -0,0 +1,20 @@ +#!/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 new file mode 100755 index 0000000..6720da0 --- /dev/null +++ b/TC/execute.sh @@ -0,0 +1,19 @@ +#!/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/results/0001c/journal b/TC/results/0001c/journal new file mode 100644 index 0000000..c07345e --- /dev/null +++ b/TC/results/0001c/journal @@ -0,0 +1,16 @@ +0|3.7-lite 06:32:25 20110816|User: root (0) TCC Start, Command line: tcc -c -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetclean.cfg 2|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_CLEAN_TOOL=make clean +30||TET_API_COMPLIANT=True +30||TET_PASS_TC_NAME=False +30||TET_VERSION=3.7-lite +40||Config End +300|0 /unit/utc_ApplicationFW___dlog_print_func 06:32:25|Clean Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|0 0 06:32:26|Clean End, scenario ref 1-0 +300|1 /unit/utc_ApplicationFW___dlog_vprint_func 06:32:26|Clean Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|1 0 06:32:27|Clean End, scenario ref 2-0 +900|06:32:27|TCC End diff --git a/TC/results/0003c/journal b/TC/results/0003c/journal new file mode 100644 index 0000000..72ba285 --- /dev/null +++ b/TC/results/0003c/journal @@ -0,0 +1,16 @@ +0|3.7-lite 06:33:56 20110816|User: root (0) TCC Start, Command line: tcc -c -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetclean.cfg 2|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_CLEAN_TOOL=make clean +30||TET_API_COMPLIANT=True +30||TET_PASS_TC_NAME=False +30||TET_VERSION=3.7-lite +40||Config End +300|0 /unit/utc_ApplicationFW___dlog_print_func 06:33:56|Clean Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|0 0 06:33:57|Clean End, scenario ref 1-0 +300|1 /unit/utc_ApplicationFW___dlog_vprint_func 06:33:57|Clean Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|1 0 06:33:58|Clean End, scenario ref 2-0 +900|06:33:58|TCC End diff --git a/TC/results/0005c/journal b/TC/results/0005c/journal new file mode 100644 index 0000000..0c3f893 --- /dev/null +++ b/TC/results/0005c/journal @@ -0,0 +1,16 @@ +0|3.7-lite 07:10:21 20110816|User: root (0) TCC Start, Command line: tcc -c -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetclean.cfg 2|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_CLEAN_TOOL=make clean +30||TET_API_COMPLIANT=True +30||TET_PASS_TC_NAME=False +30||TET_VERSION=3.7-lite +40||Config End +300|0 /unit/utc_ApplicationFW___dlog_print_func 07:10:21|Clean Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|0 0 07:10:22|Clean End, scenario ref 1-0 +300|1 /unit/utc_ApplicationFW___dlog_vprint_func 07:10:22|Clean Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|1 0 07:10:23|Clean End, scenario ref 2-0 +900|07:10:23|TCC End diff --git a/TC/results/0007c/journal b/TC/results/0007c/journal new file mode 100644 index 0000000..46588e5 --- /dev/null +++ b/TC/results/0007c/journal @@ -0,0 +1,16 @@ +0|3.7-lite 08:33:25 20110816|User: root (0) TCC Start, Command line: tcc -c -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetclean.cfg 2|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_CLEAN_TOOL=make clean +30||TET_API_COMPLIANT=True +30||TET_PASS_TC_NAME=False +30||TET_VERSION=3.7-lite +40||Config End +300|0 /unit/utc_ApplicationFW___dlog_print_func 08:33:25|Clean Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|0 0 08:33:26|Clean End, scenario ref 1-0 +300|1 /unit/utc_ApplicationFW___dlog_vprint_func 08:33:26|Clean Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|1 0 08:33:27|Clean End, scenario ref 2-0 +900|08:33:27|TCC End diff --git a/TC/results/0009c/journal b/TC/results/0009c/journal new file mode 100644 index 0000000..3f985a0 --- /dev/null +++ b/TC/results/0009c/journal @@ -0,0 +1,16 @@ +0|3.7-lite 08:44:58 20110816|User: root (0) TCC Start, Command line: tcc -c -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetclean.cfg 2|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_CLEAN_TOOL=make clean +30||TET_API_COMPLIANT=True +30||TET_PASS_TC_NAME=False +30||TET_VERSION=3.7-lite +40||Config End +300|0 /unit/utc_ApplicationFW___dlog_print_func 08:44:58|Clean Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|0 0 08:44:59|Clean End, scenario ref 1-0 +300|1 /unit/utc_ApplicationFW___dlog_vprint_func 08:44:59|Clean Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|1 0 08:45:00|Clean End, scenario ref 2-0 +900|08:45:00|TCC End diff --git a/TC/results/0011c/journal b/TC/results/0011c/journal new file mode 100644 index 0000000..3bb98f0 --- /dev/null +++ b/TC/results/0011c/journal @@ -0,0 +1,16 @@ +0|3.7-lite 08:46:09 20110816|User: root (0) TCC Start, Command line: tcc -c -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetclean.cfg 2|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_CLEAN_TOOL=make clean +30||TET_API_COMPLIANT=True +30||TET_PASS_TC_NAME=False +30||TET_VERSION=3.7-lite +40||Config End +300|0 /unit/utc_ApplicationFW___dlog_print_func 08:46:09|Clean Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|0 0 08:46:10|Clean End, scenario ref 1-0 +300|1 /unit/utc_ApplicationFW___dlog_vprint_func 08:46:10|Clean Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|1 0 08:46:11|Clean End, scenario ref 2-0 +900|08:46:11|TCC End diff --git a/TC/results/0013c/journal b/TC/results/0013c/journal new file mode 100644 index 0000000..9526a07 --- /dev/null +++ b/TC/results/0013c/journal @@ -0,0 +1,16 @@ +0|3.7-lite 08:46:35 20110816|User: root (0) TCC Start, Command line: tcc -c -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetclean.cfg 2|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_CLEAN_TOOL=make clean +30||TET_API_COMPLIANT=True +30||TET_PASS_TC_NAME=False +30||TET_VERSION=3.7-lite +40||Config End +300|0 /unit/utc_ApplicationFW___dlog_print_func 08:46:35|Clean Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|0 0 08:46:36|Clean End, scenario ref 1-0 +300|1 /unit/utc_ApplicationFW___dlog_vprint_func 08:46:36|Clean Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|1 0 08:46:37|Clean End, scenario ref 2-0 +900|08:46:37|TCC End diff --git a/TC/results/0015c/journal b/TC/results/0015c/journal new file mode 100644 index 0000000..b956ab6 --- /dev/null +++ b/TC/results/0015c/journal @@ -0,0 +1,16 @@ +0|3.7-lite 08:49:56 20110816|User: root (0) TCC Start, Command line: tcc -c -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetclean.cfg 2|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_CLEAN_TOOL=make clean +30||TET_API_COMPLIANT=True +30||TET_PASS_TC_NAME=False +30||TET_VERSION=3.7-lite +40||Config End +300|0 /unit/utc_ApplicationFW___dlog_print_func 08:49:56|Clean Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|0 0 08:49:57|Clean End, scenario ref 1-0 +300|1 /unit/utc_ApplicationFW___dlog_vprint_func 08:49:57|Clean Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|1 0 08:49:58|Clean End, scenario ref 2-0 +900|08:49:58|TCC End diff --git a/TC/results/0017c/journal b/TC/results/0017c/journal new file mode 100644 index 0000000..76434ad --- /dev/null +++ b/TC/results/0017c/journal @@ -0,0 +1,16 @@ +0|3.7-lite 01:12:37 20110817|User: root (0) TCC Start, Command line: tcc -c -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetclean.cfg 2|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_CLEAN_TOOL=make clean +30||TET_API_COMPLIANT=True +30||TET_PASS_TC_NAME=False +30||TET_VERSION=3.7-lite +40||Config End +300|0 /unit/utc_ApplicationFW___dlog_print_func 01:12:37|Clean Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|0 0 01:12:38|Clean End, scenario ref 1-0 +300|1 /unit/utc_ApplicationFW___dlog_vprint_func 01:12:38|Clean Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|1 0 01:12:39|Clean End, scenario ref 2-0 +900|01:12:39|TCC End diff --git a/TC/results/0019c/journal b/TC/results/0019c/journal new file mode 100644 index 0000000..c21859e --- /dev/null +++ b/TC/results/0019c/journal @@ -0,0 +1,16 @@ +0|3.7-lite 01:13:46 20110817|User: root (0) TCC Start, Command line: tcc -c -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetclean.cfg 2|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_CLEAN_TOOL=make clean +30||TET_API_COMPLIANT=True +30||TET_PASS_TC_NAME=False +30||TET_VERSION=3.7-lite +40||Config End +300|0 /unit/utc_ApplicationFW___dlog_print_func 01:13:46|Clean Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|0 0 01:13:47|Clean End, scenario ref 1-0 +300|1 /unit/utc_ApplicationFW___dlog_vprint_func 01:13:47|Clean Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|1 0 01:13:48|Clean End, scenario ref 2-0 +900|01:13:48|TCC End diff --git a/TC/results/0021c/journal b/TC/results/0021c/journal new file mode 100644 index 0000000..0b246d9 --- /dev/null +++ b/TC/results/0021c/journal @@ -0,0 +1,16 @@ +0|3.7-lite 10:56:52 20110919|User: root (0) TCC Start, Command line: tcc -c -p ./ +5|Linux jeesun1981-desktop 2.6.38-11-generic #49-Ubuntu SMP Mon Aug 29 20:47:58 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetclean.cfg 2|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_CLEAN_TOOL=make clean +30||TET_API_COMPLIANT=True +30||TET_PASS_TC_NAME=False +30||TET_VERSION=3.7-lite +40||Config End +300|0 /unit/utc_ApplicationFW___dlog_print_func 10:56:52|Clean Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|0 0 10:56:53|Clean End, scenario ref 1-0 +300|1 /unit/utc_ApplicationFW___dlog_vprint_func 10:56:53|Clean Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|1 0 10:56:54|Clean End, scenario ref 2-0 +900|10:56:54|TCC End diff --git a/TC/results/0023c/journal b/TC/results/0023c/journal new file mode 100644 index 0000000..dc72006 --- /dev/null +++ b/TC/results/0023c/journal @@ -0,0 +1,16 @@ +0|3.7-lite 11:18:21 20110919|User: root (0) TCC Start, Command line: tcc -c -p ./ +5|Linux jeesun1981-desktop 2.6.38-11-generic #49-Ubuntu SMP Mon Aug 29 20:47:58 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetclean.cfg 2|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_CLEAN_TOOL=make clean +30||TET_API_COMPLIANT=True +30||TET_PASS_TC_NAME=False +30||TET_VERSION=3.7-lite +40||Config End +300|0 /unit/utc_ApplicationFW___dlog_print_func 11:18:21|Clean Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|0 0 11:18:22|Clean End, scenario ref 1-0 +300|1 /unit/utc_ApplicationFW___dlog_vprint_func 11:18:22|Clean Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +320|1 0 11:18:23|Clean End, scenario ref 2-0 +900|11:18:23|TCC End diff --git a/TC/results/build-tar-result-1313476345.html b/TC/results/build-tar-result-1313476345.html new file mode 100644 index 0000000..c8393f3 --- /dev/null +++ b/TC/results/build-tar-result-1313476345.html @@ -0,0 +1,92 @@ + + + +TETware Test Run Report + + +

+

+TETware Test Run Report

+

+ + + + + + + + + + + + + + + + +
TETware version:3.7-lite
System Information:Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l
Date of test run:2011-08-16
Start time:06:32:27

+ +
+

+
+Build mode summary

+

+ + + + + + + + + + + + + + + + +
ResultCount
Success1
Failure1
Total2

+

+
+Execute mode summary

+

+ + + +
No results

+ +
+

+
+Build mode result breakdown

+

+ + + + + + + + + + + + +
TestcaseResult
/unit/utc_ApplicationFW___dlog_print_funcSuccess
/unit/utc_ApplicationFW___dlog_vprint_funcFailure

+ +
+

+
+Execute mode result breakdown

+

+ + + +
No results

+ +
+ + diff --git a/TC/results/build-tar-result-1313476345.journal b/TC/results/build-tar-result-1313476345.journal new file mode 100644 index 0000000..6cc4e98 --- /dev/null +++ b/TC/results/build-tar-result-1313476345.journal @@ -0,0 +1,15 @@ +0|3.7-lite 06:32:27 20110816|User: root (0) TCC Start, Command line: tcc -b -j results/build-tar-result-1313476345.journal -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetbuild.cfg 0|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_BUILD_TOOL=make +30||TET_PASS_TC_NAME=True +30||TET_API_COMPLIANT=True +30||TET_VERSION=3.7-lite +40||Config End +110|0 /unit/utc_ApplicationFW___dlog_print_func 06:32:27|Build Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|0 0 06:32:28|Build End, scenario ref 1-0 +110|1 /unit/utc_ApplicationFW___dlog_vprint_func 06:32:28|Build Start, scenario ref 2-0 +130|1 2 06:32:29|Build End, scenario ref 2-0 +900|06:32:29|TCC End diff --git a/TC/results/build-tar-result-1313476436.html b/TC/results/build-tar-result-1313476436.html new file mode 100644 index 0000000..033a73a --- /dev/null +++ b/TC/results/build-tar-result-1313476436.html @@ -0,0 +1,92 @@ + + + +TETware Test Run Report + + +

+

+TETware Test Run Report

+

+ + + + + + + + + + + + + + + + +
TETware version:3.7-lite
System Information:Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l
Date of test run:2011-08-16
Start time:06:33:58

+ +
+

+
+Build mode summary

+

+ + + + + + + + + + + + + + + + +
ResultCount
Success1
Failure1
Total2

+

+
+Execute mode summary

+

+ + + +
No results

+ +
+

+
+Build mode result breakdown

+

+ + + + + + + + + + + + +
TestcaseResult
/unit/utc_ApplicationFW___dlog_print_funcSuccess
/unit/utc_ApplicationFW___dlog_vprint_funcFailure

+ +
+

+
+Execute mode result breakdown

+

+ + + +
No results

+ +
+ + diff --git a/TC/results/build-tar-result-1313476436.journal b/TC/results/build-tar-result-1313476436.journal new file mode 100644 index 0000000..38c483f --- /dev/null +++ b/TC/results/build-tar-result-1313476436.journal @@ -0,0 +1,15 @@ +0|3.7-lite 06:33:58 20110816|User: root (0) TCC Start, Command line: tcc -b -j results/build-tar-result-1313476436.journal -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetbuild.cfg 0|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_BUILD_TOOL=make +30||TET_PASS_TC_NAME=True +30||TET_API_COMPLIANT=True +30||TET_VERSION=3.7-lite +40||Config End +110|0 /unit/utc_ApplicationFW___dlog_print_func 06:33:58|Build Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|0 0 06:33:59|Build End, scenario ref 1-0 +110|1 /unit/utc_ApplicationFW___dlog_vprint_func 06:33:59|Build Start, scenario ref 2-0 +130|1 2 06:34:00|Build End, scenario ref 2-0 +900|06:34:00|TCC End diff --git a/TC/results/build-tar-result-1313478621.html b/TC/results/build-tar-result-1313478621.html new file mode 100644 index 0000000..5186b6d --- /dev/null +++ b/TC/results/build-tar-result-1313478621.html @@ -0,0 +1,92 @@ + + + +TETware Test Run Report + + +

+

+TETware Test Run Report

+

+ + + + + + + + + + + + + + + + +
TETware version:3.7-lite
System Information:Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l
Date of test run:2011-08-16
Start time:07:10:23

+ +
+

+
+Build mode summary

+

+ + + + + + + + + + + + + + + + +
ResultCount
Success1
Failure1
Total2

+

+
+Execute mode summary

+

+ + + +
No results

+ +
+

+
+Build mode result breakdown

+

+ + + + + + + + + + + + +
TestcaseResult
/unit/utc_ApplicationFW___dlog_print_funcSuccess
/unit/utc_ApplicationFW___dlog_vprint_funcFailure

+ +
+

+
+Execute mode result breakdown

+

+ + + +
No results

+ +
+ + diff --git a/TC/results/build-tar-result-1313478621.journal b/TC/results/build-tar-result-1313478621.journal new file mode 100644 index 0000000..cb26d96 --- /dev/null +++ b/TC/results/build-tar-result-1313478621.journal @@ -0,0 +1,15 @@ +0|3.7-lite 07:10:23 20110816|User: root (0) TCC Start, Command line: tcc -b -j results/build-tar-result-1313478621.journal -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetbuild.cfg 0|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_BUILD_TOOL=make +30||TET_PASS_TC_NAME=True +30||TET_API_COMPLIANT=True +30||TET_VERSION=3.7-lite +40||Config End +110|0 /unit/utc_ApplicationFW___dlog_print_func 07:10:23|Build Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|0 0 07:10:24|Build End, scenario ref 1-0 +110|1 /unit/utc_ApplicationFW___dlog_vprint_func 07:10:24|Build Start, scenario ref 2-0 +130|1 2 07:10:25|Build End, scenario ref 2-0 +900|07:10:25|TCC End diff --git a/TC/results/build-tar-result-1313483605.html b/TC/results/build-tar-result-1313483605.html new file mode 100644 index 0000000..ca03965 --- /dev/null +++ b/TC/results/build-tar-result-1313483605.html @@ -0,0 +1,92 @@ + + + +TETware Test Run Report + + +

+

+TETware Test Run Report

+

+ + + + + + + + + + + + + + + + +
TETware version:3.7-lite
System Information:Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l
Date of test run:2011-08-16
Start time:08:33:27

+ +
+

+
+Build mode summary

+

+ + + + + + + + + + + + + + + + +
ResultCount
Success1
Failure1
Total2

+

+
+Execute mode summary

+

+ + + +
No results

+ +
+

+
+Build mode result breakdown

+

+ + + + + + + + + + + + +
TestcaseResult
/unit/utc_ApplicationFW___dlog_print_funcSuccess
/unit/utc_ApplicationFW___dlog_vprint_funcFailure

+ +
+

+
+Execute mode result breakdown

+

+ + + +
No results

+ +
+ + diff --git a/TC/results/build-tar-result-1313483605.journal b/TC/results/build-tar-result-1313483605.journal new file mode 100644 index 0000000..f8de10d --- /dev/null +++ b/TC/results/build-tar-result-1313483605.journal @@ -0,0 +1,15 @@ +0|3.7-lite 08:33:27 20110816|User: root (0) TCC Start, Command line: tcc -b -j results/build-tar-result-1313483605.journal -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetbuild.cfg 0|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_BUILD_TOOL=make +30||TET_PASS_TC_NAME=True +30||TET_API_COMPLIANT=True +30||TET_VERSION=3.7-lite +40||Config End +110|0 /unit/utc_ApplicationFW___dlog_print_func 08:33:27|Build Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|0 0 08:33:28|Build End, scenario ref 1-0 +110|1 /unit/utc_ApplicationFW___dlog_vprint_func 08:33:28|Build Start, scenario ref 2-0 +130|1 2 08:33:29|Build End, scenario ref 2-0 +900|08:33:29|TCC End diff --git a/TC/results/build-tar-result-1313484298.html b/TC/results/build-tar-result-1313484298.html new file mode 100644 index 0000000..2ed880e --- /dev/null +++ b/TC/results/build-tar-result-1313484298.html @@ -0,0 +1,92 @@ + + + +TETware Test Run Report + + +

+

+TETware Test Run Report

+

+ + + + + + + + + + + + + + + + +
TETware version:3.7-lite
System Information:Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l
Date of test run:2011-08-16
Start time:08:45:00

+ +
+

+
+Build mode summary

+

+ + + + + + + + + + + + + + + + +
ResultCount
Success1
Failure1
Total2

+

+
+Execute mode summary

+

+ + + +
No results

+ +
+

+
+Build mode result breakdown

+

+ + + + + + + + + + + + +
TestcaseResult
/unit/utc_ApplicationFW___dlog_print_funcSuccess
/unit/utc_ApplicationFW___dlog_vprint_funcFailure

+ +
+

+
+Execute mode result breakdown

+

+ + + +
No results

+ +
+ + diff --git a/TC/results/build-tar-result-1313484298.journal b/TC/results/build-tar-result-1313484298.journal new file mode 100644 index 0000000..c8a7252 --- /dev/null +++ b/TC/results/build-tar-result-1313484298.journal @@ -0,0 +1,15 @@ +0|3.7-lite 08:45:00 20110816|User: root (0) TCC Start, Command line: tcc -b -j results/build-tar-result-1313484298.journal -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetbuild.cfg 0|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_BUILD_TOOL=make +30||TET_PASS_TC_NAME=True +30||TET_API_COMPLIANT=True +30||TET_VERSION=3.7-lite +40||Config End +110|0 /unit/utc_ApplicationFW___dlog_print_func 08:45:00|Build Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|0 0 08:45:01|Build End, scenario ref 1-0 +110|1 /unit/utc_ApplicationFW___dlog_vprint_func 08:45:01|Build Start, scenario ref 2-0 +130|1 2 08:45:02|Build End, scenario ref 2-0 +900|08:45:02|TCC End diff --git a/TC/results/build-tar-result-1313484369.html b/TC/results/build-tar-result-1313484369.html new file mode 100644 index 0000000..280b232 --- /dev/null +++ b/TC/results/build-tar-result-1313484369.html @@ -0,0 +1,92 @@ + + + +TETware Test Run Report + + +

+

+TETware Test Run Report

+

+ + + + + + + + + + + + + + + + +
TETware version:3.7-lite
System Information:Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l
Date of test run:2011-08-16
Start time:08:46:11

+ +
+

+
+Build mode summary

+

+ + + + + + + + + + + + + + + + +
ResultCount
Success1
Failure1
Total2

+

+
+Execute mode summary

+

+ + + +
No results

+ +
+

+
+Build mode result breakdown

+

+ + + + + + + + + + + + +
TestcaseResult
/unit/utc_ApplicationFW___dlog_print_funcSuccess
/unit/utc_ApplicationFW___dlog_vprint_funcFailure

+ +
+

+
+Execute mode result breakdown

+

+ + + +
No results

+ +
+ + diff --git a/TC/results/build-tar-result-1313484369.journal b/TC/results/build-tar-result-1313484369.journal new file mode 100644 index 0000000..e7ef163 --- /dev/null +++ b/TC/results/build-tar-result-1313484369.journal @@ -0,0 +1,15 @@ +0|3.7-lite 08:46:11 20110816|User: root (0) TCC Start, Command line: tcc -b -j results/build-tar-result-1313484369.journal -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetbuild.cfg 0|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_BUILD_TOOL=make +30||TET_PASS_TC_NAME=True +30||TET_API_COMPLIANT=True +30||TET_VERSION=3.7-lite +40||Config End +110|0 /unit/utc_ApplicationFW___dlog_print_func 08:46:11|Build Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|0 0 08:46:12|Build End, scenario ref 1-0 +110|1 /unit/utc_ApplicationFW___dlog_vprint_func 08:46:12|Build Start, scenario ref 2-0 +130|1 2 08:46:13|Build End, scenario ref 2-0 +900|08:46:13|TCC End diff --git a/TC/results/build-tar-result-1313484395.html b/TC/results/build-tar-result-1313484395.html new file mode 100644 index 0000000..46e4e87 --- /dev/null +++ b/TC/results/build-tar-result-1313484395.html @@ -0,0 +1,92 @@ + + + +TETware Test Run Report + + +

+

+TETware Test Run Report

+

+ + + + + + + + + + + + + + + + +
TETware version:3.7-lite
System Information:Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l
Date of test run:2011-08-16
Start time:08:46:37

+ +
+

+
+Build mode summary

+

+ + + + + + + + + + + + + + + + +
ResultCount
Success1
Failure1
Total2

+

+
+Execute mode summary

+

+ + + +
No results

+ +
+

+
+Build mode result breakdown

+

+ + + + + + + + + + + + +
TestcaseResult
/unit/utc_ApplicationFW___dlog_print_funcSuccess
/unit/utc_ApplicationFW___dlog_vprint_funcFailure

+ +
+

+
+Execute mode result breakdown

+

+ + + +
No results

+ +
+ + diff --git a/TC/results/build-tar-result-1313484395.journal b/TC/results/build-tar-result-1313484395.journal new file mode 100644 index 0000000..0f8a711 --- /dev/null +++ b/TC/results/build-tar-result-1313484395.journal @@ -0,0 +1,15 @@ +0|3.7-lite 08:46:37 20110816|User: root (0) TCC Start, Command line: tcc -b -j results/build-tar-result-1313484395.journal -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetbuild.cfg 0|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_BUILD_TOOL=make +30||TET_PASS_TC_NAME=True +30||TET_API_COMPLIANT=True +30||TET_VERSION=3.7-lite +40||Config End +110|0 /unit/utc_ApplicationFW___dlog_print_func 08:46:37|Build Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|0 0 08:46:38|Build End, scenario ref 1-0 +110|1 /unit/utc_ApplicationFW___dlog_vprint_func 08:46:38|Build Start, scenario ref 2-0 +130|1 2 08:46:39|Build End, scenario ref 2-0 +900|08:46:39|TCC End diff --git a/TC/results/build-tar-result-1313484596.html b/TC/results/build-tar-result-1313484596.html new file mode 100644 index 0000000..daf77a5 --- /dev/null +++ b/TC/results/build-tar-result-1313484596.html @@ -0,0 +1,92 @@ + + + +TETware Test Run Report + + +

+

+TETware Test Run Report

+

+ + + + + + + + + + + + + + + + +
TETware version:3.7-lite
System Information:Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l
Date of test run:2011-08-16
Start time:08:49:58

+ +
+

+
+Build mode summary

+

+ + + + + + + + + + + + + + + + +
ResultCount
Success2
Failure0
Total2

+

+
+Execute mode summary

+

+ + + +
No results

+ +
+

+
+Build mode result breakdown

+

+ + + + + + + + + + + + +
TestcaseResult
/unit/utc_ApplicationFW___dlog_print_funcSuccess
/unit/utc_ApplicationFW___dlog_vprint_funcSuccess

+ +
+

+
+Execute mode result breakdown

+

+ + + +
No results

+ +
+ + diff --git a/TC/results/build-tar-result-1313484596.journal b/TC/results/build-tar-result-1313484596.journal new file mode 100644 index 0000000..c7caefe --- /dev/null +++ b/TC/results/build-tar-result-1313484596.journal @@ -0,0 +1,16 @@ +0|3.7-lite 08:49:58 20110816|User: root (0) TCC Start, Command line: tcc -b -j results/build-tar-result-1313484596.journal -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetbuild.cfg 0|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_BUILD_TOOL=make +30||TET_PASS_TC_NAME=True +30||TET_API_COMPLIANT=True +30||TET_VERSION=3.7-lite +40||Config End +110|0 /unit/utc_ApplicationFW___dlog_print_func 08:49:58|Build Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|0 0 08:49:59|Build End, scenario ref 1-0 +110|1 /unit/utc_ApplicationFW___dlog_vprint_func 08:49:59|Build Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|1 0 08:50:00|Build End, scenario ref 2-0 +900|08:50:00|TCC End diff --git a/TC/results/build-tar-result-1313543556.html b/TC/results/build-tar-result-1313543556.html new file mode 100644 index 0000000..5272b94 --- /dev/null +++ b/TC/results/build-tar-result-1313543556.html @@ -0,0 +1,92 @@ + + + +TETware Test Run Report + + +

+

+TETware Test Run Report

+

+ + + + + + + + + + + + + + + + +
TETware version:3.7-lite
System Information:Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l
Date of test run:2011-08-17
Start time:01:12:39

+ +
+

+
+Build mode summary

+

+ + + + + + + + + + + + + + + + +
ResultCount
Success1
Failure1
Total2

+

+
+Execute mode summary

+

+ + + +
No results

+ +
+

+
+Build mode result breakdown

+

+ + + + + + + + + + + + +
TestcaseResult
/unit/utc_ApplicationFW___dlog_print_funcSuccess
/unit/utc_ApplicationFW___dlog_vprint_funcFailure

+ +
+

+
+Execute mode result breakdown

+

+ + + +
No results

+ +
+ + diff --git a/TC/results/build-tar-result-1313543556.journal b/TC/results/build-tar-result-1313543556.journal new file mode 100644 index 0000000..9970841 --- /dev/null +++ b/TC/results/build-tar-result-1313543556.journal @@ -0,0 +1,15 @@ +0|3.7-lite 01:12:39 20110817|User: root (0) TCC Start, Command line: tcc -b -j results/build-tar-result-1313543556.journal -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetbuild.cfg 0|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_BUILD_TOOL=make +30||TET_PASS_TC_NAME=True +30||TET_API_COMPLIANT=True +30||TET_VERSION=3.7-lite +40||Config End +110|0 /unit/utc_ApplicationFW___dlog_print_func 01:12:39|Build Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|0 0 01:12:42|Build End, scenario ref 1-0 +110|1 /unit/utc_ApplicationFW___dlog_vprint_func 01:12:42|Build Start, scenario ref 2-0 +130|1 2 01:12:43|Build End, scenario ref 2-0 +900|01:12:43|TCC End diff --git a/TC/results/build-tar-result-1313543625.html b/TC/results/build-tar-result-1313543625.html new file mode 100644 index 0000000..326a503 --- /dev/null +++ b/TC/results/build-tar-result-1313543625.html @@ -0,0 +1,92 @@ + + + +TETware Test Run Report + + +

+

+TETware Test Run Report

+

+ + + + + + + + + + + + + + + + +
TETware version:3.7-lite
System Information:Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l
Date of test run:2011-08-17
Start time:01:13:48

+ +
+

+
+Build mode summary

+

+ + + + + + + + + + + + + + + + +
ResultCount
Success2
Failure0
Total2

+

+
+Execute mode summary

+

+ + + +
No results

+ +
+

+
+Build mode result breakdown

+

+ + + + + + + + + + + + +
TestcaseResult
/unit/utc_ApplicationFW___dlog_print_funcSuccess
/unit/utc_ApplicationFW___dlog_vprint_funcSuccess

+ +
+

+
+Execute mode result breakdown

+

+ + + +
No results

+ +
+ + diff --git a/TC/results/build-tar-result-1313543625.journal b/TC/results/build-tar-result-1313543625.journal new file mode 100644 index 0000000..0d59201 --- /dev/null +++ b/TC/results/build-tar-result-1313543625.journal @@ -0,0 +1,16 @@ +0|3.7-lite 01:13:48 20110817|User: root (0) TCC Start, Command line: tcc -b -j results/build-tar-result-1313543625.journal -p ./ +5|Linux jeesun1981-desktop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetbuild.cfg 0|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_BUILD_TOOL=make +30||TET_PASS_TC_NAME=True +30||TET_API_COMPLIANT=True +30||TET_VERSION=3.7-lite +40||Config End +110|0 /unit/utc_ApplicationFW___dlog_print_func 01:13:48|Build Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|0 0 01:13:49|Build End, scenario ref 1-0 +110|1 /unit/utc_ApplicationFW___dlog_vprint_func 01:13:49|Build Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|1 0 01:13:50|Build End, scenario ref 2-0 +900|01:13:50|TCC End diff --git a/TC/results/build-tar-result-1316429812.html b/TC/results/build-tar-result-1316429812.html new file mode 100644 index 0000000..2281d3f --- /dev/null +++ b/TC/results/build-tar-result-1316429812.html @@ -0,0 +1,92 @@ + + + +TETware Test Run Report + + +

+

+TETware Test Run Report

+

+ + + + + + + + + + + + + + + + +
TETware version:3.7-lite
System Information:Linux jeesun1981-desktop 2.6.38-11-generic #49-Ubuntu SMP Mon Aug 29 20:47:58 UTC 2011 armv7l
Date of test run:2011-09-19
Start time:10:56:54

+ +
+

+
+Build mode summary

+

+ + + + + + + + + + + + + + + + +
ResultCount
Success2
Failure0
Total2

+

+
+Execute mode summary

+

+ + + +
No results

+ +
+

+
+Build mode result breakdown

+

+ + + + + + + + + + + + +
TestcaseResult
/unit/utc_ApplicationFW___dlog_print_funcSuccess
/unit/utc_ApplicationFW___dlog_vprint_funcSuccess

+ +
+

+
+Execute mode result breakdown

+

+ + + +
No results

+ +
+ + diff --git a/TC/results/build-tar-result-1316429812.journal b/TC/results/build-tar-result-1316429812.journal new file mode 100644 index 0000000..696cb08 --- /dev/null +++ b/TC/results/build-tar-result-1316429812.journal @@ -0,0 +1,16 @@ +0|3.7-lite 10:56:54 20110919|User: root (0) TCC Start, Command line: tcc -b -j results/build-tar-result-1316429812.journal -p ./ +5|Linux jeesun1981-desktop 2.6.38-11-generic #49-Ubuntu SMP Mon Aug 29 20:47:58 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetbuild.cfg 0|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_BUILD_TOOL=make +30||TET_PASS_TC_NAME=True +30||TET_API_COMPLIANT=True +30||TET_VERSION=3.7-lite +40||Config End +110|0 /unit/utc_ApplicationFW___dlog_print_func 10:56:54|Build Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|0 0 10:56:55|Build End, scenario ref 1-0 +110|1 /unit/utc_ApplicationFW___dlog_vprint_func 10:56:55|Build Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|1 0 10:56:56|Build End, scenario ref 2-0 +900|10:56:56|TCC End diff --git a/TC/results/build-tar-result-1316431101.html b/TC/results/build-tar-result-1316431101.html new file mode 100644 index 0000000..ed6e3d2 --- /dev/null +++ b/TC/results/build-tar-result-1316431101.html @@ -0,0 +1,92 @@ + + + +TETware Test Run Report + + +

+

+TETware Test Run Report

+

+ + + + + + + + + + + + + + + + +
TETware version:3.7-lite
System Information:Linux jeesun1981-desktop 2.6.38-11-generic #49-Ubuntu SMP Mon Aug 29 20:47:58 UTC 2011 armv7l
Date of test run:2011-09-19
Start time:11:18:23

+ +
+

+
+Build mode summary

+

+ + + + + + + + + + + + + + + + +
ResultCount
Success2
Failure0
Total2

+

+
+Execute mode summary

+

+ + + +
No results

+ +
+

+
+Build mode result breakdown

+

+ + + + + + + + + + + + +
TestcaseResult
/unit/utc_ApplicationFW___dlog_print_funcSuccess
/unit/utc_ApplicationFW___dlog_vprint_funcSuccess

+ +
+

+
+Execute mode result breakdown

+

+ + + +
No results

+ +
+ + diff --git a/TC/results/build-tar-result-1316431101.journal b/TC/results/build-tar-result-1316431101.journal new file mode 100644 index 0000000..9e3ae1a --- /dev/null +++ b/TC/results/build-tar-result-1316431101.journal @@ -0,0 +1,16 @@ +0|3.7-lite 11:18:23 20110919|User: root (0) TCC Start, Command line: tcc -b -j results/build-tar-result-1316431101.journal -p ./ +5|Linux jeesun1981-desktop 2.6.38-11-generic #49-Ubuntu SMP Mon Aug 29 20:47:58 UTC 2011 armv7l|System Information +20|/home/jeesun1981/sbs110323/repo110323/dlog/TC/./tetbuild.cfg 0|Config Start +30||TET_OUTPUT_CAPTURE=False +30||TET_BUILD_TOOL=make +30||TET_PASS_TC_NAME=True +30||TET_API_COMPLIANT=True +30||TET_VERSION=3.7-lite +40||Config End +110|0 /unit/utc_ApplicationFW___dlog_print_func 11:18:23|Build Start, scenario ref 1-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|0 0 11:18:24|Build End, scenario ref 1-0 +110|1 /unit/utc_ApplicationFW___dlog_vprint_func 11:18:24|Build Start, scenario ref 2-0 +50||(jnlproc.c, 206): can't open /home/jeesun1981/sbs110323/repo110323/dlog/TC/./unit/tet_xres: No such file or directory +130|1 0 11:18:25|Build End, scenario ref 2-0 +900|11:18:25|TCC End diff --git a/TC/tet_code b/TC/tet_code new file mode 100755 index 0000000..a2cf6c1 --- /dev/null +++ b/TC/tet_code @@ -0,0 +1,12 @@ +# 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 new file mode 100755 index 0000000..43cbc9b --- /dev/null +++ b/TC/tet_scen @@ -0,0 +1,7 @@ +all + ^TEST +##### Scenarios for TEST ##### + +# Test scenario +TEST + :include:/unit/tslist diff --git a/TC/tetbuild.cfg b/TC/tetbuild.cfg new file mode 100755 index 0000000..6192c78 --- /dev/null +++ b/TC/tetbuild.cfg @@ -0,0 +1,3 @@ +TET_OUTPUT_CAPTURE=False +TET_BUILD_TOOL=make +TET_PASS_TC_NAME=True diff --git a/TC/tetclean.cfg b/TC/tetclean.cfg new file mode 100755 index 0000000..c66eda4 --- /dev/null +++ b/TC/tetclean.cfg @@ -0,0 +1,2 @@ +TET_OUTPUT_CAPTURE=False +TET_CLEAN_TOOL=make clean diff --git a/TC/tetexec.cfg b/TC/tetexec.cfg new file mode 100755 index 0000000..0d9d39a --- /dev/null +++ b/TC/tetexec.cfg @@ -0,0 +1 @@ +TET_OUTPUT_CAPTURE=False diff --git a/TC/unit/Makefile b/TC/unit/Makefile new file mode 100644 index 0000000..7be4c17 --- /dev/null +++ b/TC/unit/Makefile @@ -0,0 +1,23 @@ +CC ?= gcc + +TARGETS = utc_ApplicationFW___dlog_print_func \ + utc_ApplicationFW___dlog_vprint_func + +PKGS = dlog + +LDFLAGS = `pkg-config --libs $(PKGS)` +LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o +LDFLAGS += -L$(TET_ROOT)/lib/tet3 -ltcm_s +LDFLAGS += -L$(TET_ROOT)/lib/tet3 -lapi_s + +CFLAGS = -I. `pkg-config --cflags $(PKGS)` +CFLAGS += -I$(TET_ROOT)/inc/tet3 +CFLAGS += -Wall + +all: $(TARGETS) + +$(TARGETS): %: %.c + $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) + +clean: + rm -f $(TARGETS) diff --git a/TC/unit/tslist b/TC/unit/tslist new file mode 100644 index 0000000..0d9e63d --- /dev/null +++ b/TC/unit/tslist @@ -0,0 +1,2 @@ +/unit/utc_ApplicationFW___dlog_print_func +/unit/utc_ApplicationFW___dlog_vprint_func diff --git a/TC/unit/utc_ApplicationFW___dlog_print_func b/TC/unit/utc_ApplicationFW___dlog_print_func new file mode 100755 index 0000000..0bc2304 Binary files /dev/null and b/TC/unit/utc_ApplicationFW___dlog_print_func differ diff --git a/TC/unit/utc_ApplicationFW___dlog_print_func.c b/TC/unit/utc_ApplicationFW___dlog_print_func.c new file mode 100644 index 0000000..589c4f9 --- /dev/null +++ b/TC/unit/utc_ApplicationFW___dlog_print_func.c @@ -0,0 +1,66 @@ +#include +#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 b/TC/unit/utc_ApplicationFW___dlog_vprint_func new file mode 100755 index 0000000..e1f88d8 Binary files /dev/null and b/TC/unit/utc_ApplicationFW___dlog_vprint_func differ diff --git a/TC/unit/utc_ApplicationFW___dlog_vprint_func.c b/TC/unit/utc_ApplicationFW___dlog_vprint_func.c new file mode 100644 index 0000000..9e4a30b --- /dev/null +++ b/TC/unit/utc_ApplicationFW___dlog_vprint_func.c @@ -0,0 +1,76 @@ +#include +#include +#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/autogen.sh b/autogen.sh new file mode 100755 index 0000000..798eba2 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,6 @@ +aclocal +libtoolize --copy +autoheader +autoconf +automake --add-missing --copy --foreign + diff --git a/configure.ac b/configure.ac new file mode 100755 index 0000000..186a593 --- /dev/null +++ b/configure.ac @@ -0,0 +1,61 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.61) +AC_INIT([dlog], [1.0], yk.yun@samsung.com) +AM_INIT_AUTOMAKE([-Wall -Werror foreign]) +AC_CONFIG_HEADERS([config.h:config.hin]) + +AC_CONFIG_MACRO_DIR([m4]) +# Init XO +PLATFORM_INIT + +# Checks for programs. +dnl AC_PROG_CXX +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) +AC_PROG_CC +AC_PROG_GCC_TRADITIONAL +AC_PROG_LIBTOOL + +# checks arch +AM_CONDITIONAL(DEVELOP_VER, test $DEVELOP_VER = yes) + +SD_JOURNAL_SUPPORT=no + +#AC_DEFINE([SD_JOURNAL_SUPPORT], [], [Description]) + +AM_CONDITIONAL(SD_JOURNAL_SUPPORT, test $SD_JOURNAL_SUPPORT = yes) + +#AM_CONDITIONAL([ARCH_IS_ARM], [test "x$ARCH" = "xarm"]) +if test "x$ARCH" = "xarm" ; then + DLOG_CFLAGS="-D__arm__" +else + DLOG_CFLAGS= +fi + +AC_SUBST(DLOG_CFLAGS) + + +dnl AC_SUBST(ACLOCAL_AMFLAGS, "-I m4") +# Checks for libraries. +# Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS([stdlib.h unistd.h ]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_HEADER_STDBOOL +AC_C_CONST +AC_C_INLINE +AC_STRUCT_TM +AC_TYPE_PID_T +AC_TYPE_SIZE_T +AC_TYPE_SSIZE_T + +# Checks for library functions. +AC_FUNC_MALLOC +AC_FUNC_STAT +AC_CHECK_FUNCS([memset]) + +# output files +AC_CONFIG_FILES([Makefile dlog.pc]) +AC_OUTPUT diff --git a/dlog.pc.in b/dlog.pc.in new file mode 100755 index 0000000..1fcb33b --- /dev/null +++ b/dlog.pc.in @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: dlog +Description: logging service +Version: 1.0 +Requires: +Libs: -L${libdir} -ldlog -lpthread +Cflags: -I${includedir}/dlog diff --git a/dlog.sh b/dlog.sh new file mode 100644 index 0000000..9676793 --- /dev/null +++ b/dlog.sh @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/dlogutil -r 5120 -n 1 -f /var/log/dlog -v threadtime *:W & diff --git a/dlogctrl b/dlogctrl new file mode 100755 index 0000000..169527d --- /dev/null +++ b/dlogctrl @@ -0,0 +1,59 @@ +#!/bin/sh +MODE=none +OBJ=none +VAL=none +#echo "tizen_platform_dlog_logging_ctrl" +case "$1" in +get) + MODE=get +;; +set) + MODE=set +;; + +*) +echo "Usage: dlogctrl {get|set} {platformlog} {1|0}" +exit 1 +esac + +case "$2" in +platformlog) + OBJ=platformlog +;; +*) + echo "Usage: dlogctrl {get|set} {platformlog} {1|0}" +exit 1 +esac + +if [ "$MODE" = "set" ]; then + case "$3" in + 1) + VAL=1 + ;; + 0) + VAL=0 + ;; + *) + echo "Usage: dlogctrl {get|set} {platformlog} {1|0}" + exit 1 + esac +fi + +if [ "$MODE" = "set" ]; then + if [ "$OBJ" = "platformlog" ] && [ "$VAL" = "1" ] ; then + touch /opt/etc/dlog/.platformloggingmode 2>/dev/null + elif [ "$OBJ" = "platformlog" ] && [ "$VAL" = "0" ] ; then + rm -f /opt/etc/dlog/.platformloggingmode 2>/dev/null + fi +else + if [ "$OBJ" = "platformlog" ]; then + if [ -e "/opt/etc/dlog/.platformloggingmode" ]; then + echo 1 + else + echo 0 + fi + fi + echo "You must reboot this target to apply the change!" +fi + +exit 0 diff --git a/dlogutil.manifest b/dlogutil.manifest new file mode 100644 index 0000000..4a53c45 --- /dev/null +++ b/dlogutil.manifest @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + diff --git a/image/SLP_Dlog_PG_image001.png b/image/SLP_Dlog_PG_image001.png new file mode 100755 index 0000000..7bdd14c Binary files /dev/null and b/image/SLP_Dlog_PG_image001.png differ diff --git a/include/SLP_Dlog_PG.h b/include/SLP_Dlog_PG.h new file mode 100755 index 0000000..a108b5f --- /dev/null +++ b/include/SLP_Dlog_PG.h @@ -0,0 +1,183 @@ +/** + @ingroup SLP_PG + @defgroup SLP_PG_Dlog dlog + @{ + +

Introduction

+Dlog logging service support sending log message to circular log device + +

dlog Architecture

+@image html SLP_Dlog_PG_image001.png System Architecture of dlog + +

dlog properties

+Sending log message to circular buffer. dlog APIs include Priority and Tag. By using priority and Tag, we can easily filtered messages what we want to see. +

priority

+priority level incdicates the urgency of log message + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PriorityDescription
VERBOSE Verbose message. - compiled into application and logged at runtime only when debug mode. on release mode, this log message is strip.
DEBUGDebug messasge. - always compiled into application, but not logged at runtime by default on release mode. on debug mode, this message will be logged at runtime.
INFOInformation message - Normal operational messages. above of this priority will always be logged.
WARNWarning messages - not an error, but indication that an error will occur if action is not taken
ERRORError message - indicate error.
FATALFatal message - Should be corrected immediately ( not used yet )
+ +

Tag

+Used to identify the source of a log message. +There is no naming limitation, but do not forget that tag is identification of module. Tag must be distinguishable from other tag. +Simplified macro like LOGV, LOGD, LOGI, LOGW, LOGE uses declared LOG_TAG constant, so declare a LOG_TAG constant before you use dlog macro is a good convention. +@code +#define LOG_TAG "MyApp" +@endcode + +

list of dlog macro

+Macro name start with LOG prefix is for application. start with SLOG prefix is for framework, start with RLOG prefix is for radio. each macro write log message to separated log device such as main, system, radio. + +

sample code

+Using simplified macro with current LOG_TAG + +@code +#define LOG_TAG "YOUR_APP" +#include + +int function () { + LOGD( "debug message from YOUR_APP \n"); + LOGI( "information message from YOUR_APP \n"); + LOGW( "warning message from YOUR_APP \n"); + LOGE( "error message from YOUR_APP \n"); +} +@endcode + +Using log macro allows you to specify a priority and a tag + +@code +#include + +#define TAG_DRM_SVC "drm_svc" +#define TAG_DRM_WM "drm_wm" +#define TAG_DRM_OEM "drm_oem" + +int function () { + LOG(LOG_DEBUG,TAG_DRM_SVC, "information message from drm_svc \n"); + LOG(LOG_WARN,TAG_DRM_WM, "warning message from drm_wm \n"); + LOG(LOG_ERROR,TAG_DRM_OEM, "error message from drm_oem \n"); +} +@endcode + +Using log macro allows you to pass in a varargs + +@code +#include + +#define TAG_DRM_SVC "drm_svc" +#define TAG_DRM_WM "drm_wm" +#define TAG_DRM_OEM "drm_oem" + +int function (const char *fmt, ...) { + va_list ap; + va_start(ap, fmt); + LOG_VA(LOG_DEBUG,TAG_DRM_WM, fmt, args); + va_end(ap); +} +@endcode +

dlogutil

+

Introduction

+You can use dlogutil command to view and follow the contents of the log buffers. The general usage is : +@code +dlogutil [