From: Cyril H. <su...@li...> - 2013-03-20 13:21:51
|
The branch, master, has been updated via ff4e69314c1b1316b83b240248da49de63af7b39 (commit) from c74b7f06c887ae5de2d718b1aa52db27c3a0e989 (commit) - Log ----------------------------------------------------------------- commit ff4e69314c1b1316b83b240248da49de63af7b39 Author: Cyril Hrubis <ch...@su...> Date: Wed Mar 20 14:08:28 2013 +0100 open_posix_testsuite: Enable warnings. Previously warnings were disabled and output from the compiler was redirected to file which made the build look clean while it wasn't. Signed-off-by: Cyril Hrubis <ch...@su...> ----------------------------------------------------------------------- Summary of changes: testcases/open_posix_testsuite/CFLAGS | 2 +- .../scripts/generate-makefiles.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testcases/open_posix_testsuite/CFLAGS b/testcases/open_posix_testsuite/CFLAGS index a27d9aa..b604391 100644 --- a/testcases/open_posix_testsuite/CFLAGS +++ b/testcases/open_posix_testsuite/CFLAGS @@ -1 +1 @@ --std=c99 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 +-std=c99 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -W -Wall diff --git a/testcases/open_posix_testsuite/scripts/generate-makefiles.sh b/testcases/open_posix_testsuite/scripts/generate-makefiles.sh index 9eb3294..4f11e47 100755 --- a/testcases/open_posix_testsuite/scripts/generate-makefiles.sh +++ b/testcases/open_posix_testsuite/scripts/generate-makefiles.sh @@ -187,7 +187,7 @@ EOF cat >> "$makefile.3" <<EOF $prereq: \$(srcdir)/$c_file - @if $COMPILE_STR >logfile.\$\$\$\$ 2>&1; then \\ + @if $COMPILE_STR | tee logfile.\$\$\$\$ 2>&1; then \\ echo "\$(subdir)/$test_name compile PASSED"; \\ echo "\$(subdir)/$test_name compile PASSED" >> \$(LOGFILE); \\ else \\ hooks/post-receive -- ltp |