We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5143a0 commit 7241051Copy full SHA for 7241051
1 file changed
examples/CMakeLists.txt
@@ -59,7 +59,7 @@ if(GINKGO_RUN_EXAMPLES)
59
COMMAND chmod +x ${example_path}/target-wrapper.sh && ${example_path}/target-wrapper.sh > ${example_path}/${example}.out
60
WORKING_DIRECTORY ${example_path})
61
file(WRITE ${example_path}/diff-command "#!/bin/bash
62
-diff <(sed -n '7,$p' ${example_path}/${example}.out | sed -E 's/([^a-z,\":\\s\\)\\(\\{\\}_]+)//g') <(sed -n '6,$p' ${CMAKE_SOURCE_DIR}/examples/${example}/doc/results.dox | head -n -4 | sed -E 's/([^a-z,\":\\s\\)\\(\\{\\}_]+)//g')")
+diff <(sed -n '8,$p' ${example_path}/${example}.out | sed -E 's/([^a-z,\":\\s\\)\\(\\{\\}_]+)//g') <(sed -n '6,$p' ${CMAKE_SOURCE_DIR}/examples/${example}/doc/results.dox | head -n -4 | sed -E 's/([^a-z,\":\\s\\)\\(\\{\\}_]+)//g')")
63
add_custom_target("validate-${example}"
64
COMMAND chmod +x ${example_path}/diff-command && ${example_path}/diff-command
65
0 commit comments