[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, cmake, updated. gawk-4.1.0-78-g3582c08
From: |
Juergen Kahrs |
Subject: |
[gawk-diffs] [SCM] gawk branch, cmake, updated. gawk-4.1.0-78-g3582c08 |
Date: |
Sat, 11 May 2013 10:27:54 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, cmake has been updated
via 3582c0812a82986ddd6959c28db520dc376e39e0 (commit)
from 61f18b3aac9acf83f06163e37461eea5d915523b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=3582c0812a82986ddd6959c28db520dc376e39e0
commit 3582c0812a82986ddd6959c28db520dc376e39e0
Author: Juergen Kahrs <address@hidden>
Date: Sat May 11 12:27:47 2013 +0200
Test case SHLIB.filefuncs needs the gawk exe in source directory.
diff --git a/cmake/README.txt b/cmake/README.txt
index 451f2a6..b291d1b 100644
--- a/cmake/README.txt
+++ b/cmake/README.txt
@@ -88,8 +88,8 @@ See
http://cmake.org/Wiki/CMake/Testing_With_CTest#Simple_Testing
make
make test # run all test cases
ctest -N # list all test cases but don't run them
- ctest -R BASIC # run all test case belonging to group BASIC
- ctest -R MPFR # run all test case belonging to group MPFR
+ ctest -R BASIC # run all test cases belonging to group BASIC
+ ctest -R MPFR # run all test cases belonging to group MPFR
ctest -E SHLIB.filefunc # run all tests, except the SHLIB.filefunc test case
Remember that running test cases is possible only after a native build.
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 073ca61..d39bae9 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -41,13 +41,15 @@ foreach(testgroup ${ALL_GROUPS} )
string(REGEX REPLACE " " ";" ONE_GROUP
"${ONE_GROUP}")
# Use each name of a test case to start a script that executes the test case.
foreach(testcase ${ONE_GROUP} )
- add_test("${testgroup}.${testcase}" ${SHELL_PREFIX}
${CMAKE_SOURCE_DIR}/cmake/basictest ${CMAKE_BINARY_DIR}/gawk
${testcase}${file_suffix} )
+ add_test("${testgroup}.${testcase}" ${SHELL_PREFIX}
${CMAKE_SOURCE_DIR}/cmake/basictest
${CMAKE_BINARY_DIR}/gawk${CMAKE_EXECUTABLE_SUFFIX} ${testcase}${file_suffix} )
endforeach(testcase)
endforeach(testgroup)
# Create an empty configuration file for customizing test execution.
set(CTestCustom ${CMAKE_BINARY_DIR}/CTestCustom.cmake)
file(WRITE ${CTestCustom} "# DO NOT EDIT, THIS FILE WILL BE OVERWRITTEN\n" )
+# Test case SHLIB.filefuncs needs the gawk exe in source directory.
+file(APPEND ${CTestCustom} "file(COPY
${CMAKE_BINARY_DIR}/gawk${CMAKE_EXECUTABLE_SUFFIX} DESTINATION
${CMAKE_SOURCE_DIR})\n")
# Exclude test cases from execution that make no sense on a certain platform.
file(APPEND ${CTestCustom} "set(CTEST_CUSTOM_TESTS_IGNORE\n")
if(WIN32)
-----------------------------------------------------------------------
Summary of changes:
cmake/README.txt | 4 ++--
test/CMakeLists.txt | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, cmake, updated. gawk-4.1.0-78-g3582c08,
Juergen Kahrs <=