File tree Expand file tree Collapse file tree 5 files changed +11
-3
lines changed
Expand file tree Collapse file tree 5 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ set(diffcmd "diff -up")
2828set (jsfilter "sed" )
2929set (jsfilter "${jsfilter} -e ':a;N;$!ba;s|:\\\\\\\\ n *\\\\\\\\ [|: [|g'" )
3030
31+ # yet another conversion needed for scan properties on EPEL-7
32+ set (jsfilter "${jsfilter} -e ';s|:\\\\\\\\ n *{|: {|g'" )
33+
3134macro (add_test_wrap test_name cmd)
3235 add_test ("${test_name} " bash -c "${cmd} " )
3336 set_tests_properties (${test_name} PROPERTIES COST ${test_cost} )
Original file line number Diff line number Diff line change 11#! /bin/zsh
22set -x
33
4+ # import ${JSFILTER_CMD}
5+ . ../test-lib.sh
6+
47if [[ $# -eq 0 ]]; then
58 tests=( * -args.txt )
69else
912
1013for tst in " ${tests[@]} " ; do
1114 tst=${tst% -args.txt}
12- eval " ../../csdiff_build/src/csgrep $( < ${tst} -args.txt) ${tst} -stdin.txt" > ${tst} -stdout.txt
15+ eval " ../../csdiff_build/src/csgrep $( < ${tst} -args.txt) ${tst} -stdin.txt" \
16+ | eval " ${JSFILTER_CMD} " \
17+ > ${tst} -stdout.txt
1318done
Original file line number Diff line number Diff line change 33set -x
44
55# import ${JSFILTER_CMD}
6- . ${TEST_SRC_DIR} /../test-lib-cslinker .sh
6+ . ${TEST_SRC_DIR} /../../ test-lib.sh
77
88# run cshtml
99" ${CSLINKER_BIN} " \
Original file line number Diff line number Diff line change 33set -x
44
55# import ${JSFILTER_CMD}
6- . ${TEST_SRC_DIR} /../test-lib-cslinker .sh
6+ . ${TEST_SRC_DIR} /../../ test-lib.sh
77
88# run cshtml
99" ${CSLINKER_BIN} " --quiet \
File renamed without changes.
You can’t perform that action at this time.
0 commit comments