Hi,
To make use of full testsuite of open_posix_testsuite we need to
enable LDFLAGS. It is file used by the Makefile to link to what you
specify in it. e.g. if you want to link with lpthread. By using these
Flags can build up to 1888 test case with out the flags can build up
to 486.
However, the Best practice is to use posix test suite with the LDFLAGS.
I have attached patch and below, please review the same
Best regards,
Naresh Kamboju
/************************************************************/
Before patch:
With out LDFLAGS:
***************************
CONFORMANCE TEST RESULTS
***************************
* TOTAL: 486
* PASSED: 449
* FAILED: 12
* UNRESOLVED: 7
* UNSUPPORTED: 10
* UNTESTED: 4
* INTERRUPTED: 0
* HUNG: 0
* SEGV: 0
* OTHERS: 4
***************************
After patch:
With LDFLAGS:
***************************
CONFORMANCE TEST RESULTS
***************************
* TOTAL: 1888
* PASSED: 1731
* FAILED: 26
* UNRESOLVED: 14
* UNSUPPORTED: 22
* UNTESTED: 94
* INTERRUPTED: 0
* HUNG: 1
* SEGV: 0
* OTHERS: 0
***************************
/************************************************************/
Signed-off-by: Naresh Kamboju < [email protected] >
diff -Naurb a/testcases/open_posix_testsuite/LDFLAGS
b/testcases/open_posix_testsuite/LDFLAGS
--- a/testcases/open_posix_testsuite/LDFLAGS 2005-06-03 21:59:49.000000000
+0530
+++ b/testcases/open_posix_testsuite/LDFLAGS 2009-08-31 16:22:57.000000000
+0530
@@ -8,7 +8,7 @@
#-lpthread -D_GNU_SOURCE
#
#Recommended flags:
-#-D_XOPEN_SOURCE=600 -lpthread -lrt -lm
+-D_XOPEN_SOURCE=600 -lpthread -lrt -lm
#
# For use with Linux, you may try the following flags to
# allow for the NPTL-specific compilation (used in some test cases)
--- Begin Message ---
--- End Message ---
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list