Group :: Development/Tools
RPM: kcov
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: kcov-alt-drop-fork-32-test.patch
Download
Download
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -186,12 +186,6 @@ if (NOT(CMAKE_SYSTEM_NAME STREQUAL "Darwin"))
"${CMAKE_CURRENT_SOURCE_DIR}/assembly/illegal-insn.S"
-o "${CMAKE_CURRENT_BINARY_DIR}/illegal-insn"
)
-
- add_custom_target (fork-32 ALL
- COMMAND "${CMAKE_C_COMPILER}" -g -m32
- "${CMAKE_CURRENT_SOURCE_DIR}/fork/fork.c"
- -o "${CMAKE_CURRENT_BINARY_DIR}/fork-32"
- )
endif()
endif (NOT(CMAKE_SYSTEM_NAME STREQUAL "Darwin"))
--- a/tests/tools/compiled.py
+++ b/tests/tools/compiled.py
@@ -46,14 +46,6 @@ class fork_64(ForkBase):
def runTest(self):
self.doTest("fork")
-class fork_32(ForkBase):
- @unittest.skipIf(sys.platform.startswith("darwin"), "Not for OSX")
- @unittest.skipUnless(platform.machine().startswith("x86_64"), "Only for x86_64")
- def runTest(self):
- print("Fickle test, ignoring")
- return
- self.doTest("fork-32")
-
class vfork(testbase.KcovTestCase):
def runTest(self):
self.setUp()