add small script which converts code to a format for testrunner testcases.

This commit is contained in:
Matthias Krüger 2015-12-17 14:25:24 +01:00
parent 158238ad4b
commit 315d50271a
1 changed files with 3 additions and 0 deletions

3
tools/testrunnerify_code.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
cat $1 | sed s@\"@\\\\\"@g | sed s@^@\"@ | sed s@\$@\\\\n\"@ | sed 's@\t@ @g'