[packages/criterion] - cram tests fail due to missing, unchecked dependencies

baggins baggins at pld-linux.org
Wed May 6 10:22:58 CEST 2020


commit 5d023ef2d4c8c74cbf557b454bb5965a1c1d123c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed May 6 10:19:28 2020 +0200

    - cram tests fail due to missing, unchecked dependencies

 no-cram.patch | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
---
diff --git a/no-cram.patch b/no-cram.patch
new file mode 100644
index 0000000..f348b46
--- /dev/null
+++ b/no-cram.patch
@@ -0,0 +1,23 @@
+--- criterion-v2.3.3/test/CMakeLists.txt~	2018-11-05 01:59:28.000000000 +0100
++++ criterion-v2.3.3/test/CMakeLists.txt	2020-05-06 10:18:05.799801261 +0200
+@@ -36,20 +36,3 @@
+ add_dependencies(criterion_tests criterion_unit_tests)
+ 
+ add_test(criterion_unit_tests criterion_unit_tests)
+-
+-find_program(SH NAMES sh sh.exe)
+-
+-if (SH) # we disable the scripted tests when sh is not available
+-  add_custom_target(cram_tests)
+-
+-  add_custom_command(TARGET cram_tests POST_BUILD
+-      COMMAND "${CMAKE_COMMAND}"
+-        -DPROJECT_BINARY_DIR="${PROJECT_BINARY_DIR}"
+-        -DCRAM_PATH="${CMAKE_CURRENT_SOURCE_DIR}/cram"
+-        -DCRAM_SHELL="${SH}"
+-        -P "${CMAKE_MODULE_PATH}/Cram.cmake"
+-  )
+-
+-  add_test(cram_tests cmake --build ${PROJECT_BINARY_DIR} --target cram_tests)
+-
+-endif ()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/criterion.git/commitdiff/286f29000ce0445f13928bfd6fa3d107325b5932



More information about the pld-cvs-commit mailing list