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")
28
28
set (jsfilter "sed" )
29
29
set (jsfilter "${jsfilter} -e ':a;N;$!ba;s|:\\\\\\\\ n *\\\\\\\\ [|: [|g'" )
30
30
31
+ # yet another conversion needed for scan properties on EPEL-7
32
+ set (jsfilter "${jsfilter} -e ';s|:\\\\\\\\ n *{|: {|g'" )
33
+
31
34
macro (add_test_wrap test_name cmd )
32
35
add_test ("${test_name} " bash -c "${cmd} " )
33
36
set_tests_properties (${test_name} PROPERTIES COST ${test_cost} )
Original file line number Diff line number Diff line change 1
1
#! /bin/zsh
2
2
set -x
3
3
4
+ # import ${JSFILTER_CMD}
5
+ . ../test-lib.sh
6
+
4
7
if [[ $# -eq 0 ]]; then
5
8
tests=( * -args.txt )
6
9
else
9
12
10
13
for tst in " ${tests[@]} " ; do
11
14
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
13
18
done
Original file line number Diff line number Diff line change 3
3
set -x
4
4
5
5
# import ${JSFILTER_CMD}
6
- . ${TEST_SRC_DIR} /../test-lib-cslinker .sh
6
+ . ${TEST_SRC_DIR} /../../ test-lib.sh
7
7
8
8
# run cshtml
9
9
" ${CSLINKER_BIN} " \
Original file line number Diff line number Diff line change 3
3
set -x
4
4
5
5
# import ${JSFILTER_CMD}
6
- . ${TEST_SRC_DIR} /../test-lib-cslinker .sh
6
+ . ${TEST_SRC_DIR} /../../ test-lib.sh
7
7
8
8
# run cshtml
9
9
" ${CSLINKER_BIN} " --quiet \
File renamed without changes.
You can’t perform that action at this time.
0 commit comments