Skip to content

Commit 315d502

Browse files
committed
add small script which converts code to a format for testrunner testcases.
1 parent 158238a commit 315d502

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tools/testrunnerify_code.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
cat $1 | sed s@\"@\\\\\"@g | sed s@^@\"@ | sed s@\$@\\\\n\"@ | sed 's@\t@ @g'

0 commit comments

Comments
 (0)